| 
 | 
вернуться в форумWA#1 why?   here is the code:   #include <iostream> #include <cmath> using namespace std;   int main(){     long long X,Y,Z,k,l,m;     short A,B,C;     cin>>A>>B>>C;     k=(C-1)/A;     l=(C-1)/B;     X=1;Y=1;     for(long i=1;i<=k;i++)      X*=2;     for(long i=1;i<=l;i++)      Y*=2;     cout<<X<<" "<<Y<<" "<<"2";     return 0; }  |  
  | 
|