题目1059:abc

    xiaoxiao2021-04-15  47

    #include "iostream" #include "stdio.h" #include <vector> #include <cstring> #include <algorithm> #include <string> #include <string.h> #include <stack> #include <ctype.h> #include <functional> #include <math.h> using namespace std; //1059 int main(){     for(int a=1;a<6;a++)         for(int b=1;b<6;b++)             for(int c=0;c<=9;c++)                 if( (a*100+b*10+c)+(b*100+c*10+c)==532 )                     cout<<a<<" "<<b<<" "<<c<<endl;       return 0; } /**************************************************************     Problem: 1059     User: cust123     Language: C++     Result: Accepted     Time:0 ms     Memory:1516 kb ****************************************************************/

    转载请注明原文地址: https://ju.6miu.com/read-671058.html

    最新回复(0)