Borderou de evaluare (job #2244232)

Utilizator Stanciu_BogdanStanciu Bogdan Stanciu_Bogdan Data 22 septembrie 2018 14:23:45
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (i=2; i<=2000000; i++) ^~~ user.cpp:32:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ fout<<y*y; ^~~~ user.cpp:27:9: warning: iteration 1999998 invokes undefined behavior [-Waggressive-loop-optimizations] if(a[i]==1 && nr<var) ~~~^ user.cpp:26:13: note: within this loop for (i=2; i<=2000000; i++) ~^~~~~~~~~ user.cpp:14:7: warning: iteration 1999999 invokes undefined behavior [-Waggressive-loop-optimizations] a[i]=1; ~~~~^~ user.cpp:13:13: note: within this loop for (i=1; i<=2000000; i++) ~^~~~~~~~~ user.cpp:32:11: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] fout<<y*y; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1116ms9128kbKilled by signal 6(SIGABRT).0
2112ms9128kbKilled by signal 6(SIGABRT).0
3124ms9124kbKilled by signal 6(SIGABRT).0
4120ms9128kbKilled by signal 6(SIGABRT).0
5112ms9128kbKilled by signal 6(SIGABRT).0
6112ms9128kbKilled by signal 6(SIGABRT).0
7112ms9124kbKilled by signal 6(SIGABRT).0
8112ms9128kbKilled by signal 6(SIGABRT).0
9112ms9124kbKilled by signal 6(SIGABRT).0
10112ms9132kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?