Borderou de evaluare (job #2204200)

Utilizator andra1782Andra Alazaroaie andra1782 Data 14 mai 2018 22:52:46
Problema Diamant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d",&m,&n,&x); ^ user.cpp:21:43: warning: iteration 88202 invokes undefined behavior [-Waggressive-loop-optimizations] count[k+MAXX]=copie[k+MAXX]; ~~~~~~~~~~~~^ user.cpp:20:27: note: within this loop for(k=-MAXX; k<=MAXX; k++){ ^ user.cpp:16:52: warning: iteration 88202 invokes undefined behavior [-Waggressive-loop-optimizations] copie[k-val+MAXX]=(copie[k-val+MAXX]+count[k+MAXX])%MOD; ~~~~~~~~~~~~~~~~^ user.cpp:15:27: note: within this loop for(k=-MAXX; k<=MAXX; k++){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1344kbOK10
28ms1344kbKilled by signal 6(SIGABRT).0
344ms1340kbKilled by signal 6(SIGABRT).0
444ms1344kbKilled by signal 6(SIGABRT).0
516ms1340kbKilled by signal 6(SIGABRT).0
684ms1344kbKilled by signal 6(SIGABRT).0
7212ms1340kbKilled by signal 6(SIGABRT).0
8296ms1344kbKilled by signal 6(SIGABRT).0
9Depăşit1340kbTime limit exceeded.0
10Depăşit1340kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?