Borderou de evaluare (job #2534883)

Utilizator NeacsuMihaiNeacsu Mihai NeacsuMihai Data 31 ianuarie 2020 02:12:32
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:44: warning: variable 'p' set but not used [-Wunused-but-set-variable] int a, b, i, j, nr, max1, val, ct, cp, p, div, exp; ^ main.cpp:31:18: warning: iteration 44998 invokes undefined behavior [-Waggressive-loop-optimizations] if(prim[i]==0) ~~~~~~^ main.cpp:29:15: note: within this loop for(i=2; i<=45000; i++) ~^~~~~~~ main.cpp:18:38: warning: iteration 22498 invokes undefined behavior [-Waggressive-loop-optimizations] for(i=4; i<=45000; i=i+2) prim[i]=1; ~~~~~~~^~ main.cpp:18:15: note: within this loop for(i=4; i<=45000; i=i+2) prim[i]=1; ~^~~~~~~ main.cpp:84:34: warning: 'ct' may be used uninitialized in this function [-Wmaybe-uninitialized] fout<<val<<' '<<max1<<' '<<ct; ^ main.cpp:84:16: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] fout<<val<<' '<<max1<<' '<<ct; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbKilled by Signal 800
22ms131kbKilled by Signal 80
32ms131kbKilled by Signal 80
43ms131kbKilled by Signal 80
52ms131kbKilled by Signal 800
63ms131kbKilled by Signal 80
729ms131kbOK10
83ms131kbOK100
93ms131kbKilled by Signal 80
102ms131kbKilled by Signal 80
Punctaj total0

Ceva nu functioneaza?