ziadayman1's blog

By ziadayman1, history, 7 weeks ago, In English

always get that just anyone tells me why and how can I solve that problem and I am a new one here! that is my code :

include

using namespace std;

int main() { unsigned int x,y;

cin>>x;

y=x; cin>>x;y*=x; cin>>x;y*=x; cin>>x;y*=x; cout<<y%100; return 0; } the link of the problem

 
 
 
 
  • Vote: I like it
  • -20
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by ziadayman1 (previous revision, new revision, compare).

»
7 weeks ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Judging from your only one public submission, which is for legendary watermelon problem, you're using clang diagnostics which is used for debug purposes only and can cause slow perfomance and additional memory usages (yet I still don't understand what causes MLE on 2nd test and not the 1st). Anyway use any other compiler which is not labeled as "diagnostics", i.e. 192085523, 192085530

  • »
    »
    7 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Actually I didn't send my code as a file, I just copy it and send it by submit code in codeforce.