Borderou de evaluare (job #2525047)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 16 ianuarie 2020 18:54:31
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:18: warning: unused variable 'pmax' [-Wunused-variable] int n, i, j, pmax; ^~~~ main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in", "r", stdin); ^ main.cpp:10:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out", "w", stdout); ^ main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:18:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld" , &a , &b); ^ main.cpp:41:17: warning: iteration 35 invokes undefined behavior [-Waggressive-loop-optimizations] if(d2b[j] == 0) ~~~~~^ main.cpp:37:19: note: within this loop for(j = 0 ; j <= base ; j ++) ~~^~~~~~~ main.cpp:32:27: warning: iteration 35 invokes undefined behavior [-Waggressive-loop-optimizations] d1a[j] = d2a[j]; ~~~~~^ main.cpp:30:23: note: within this loop for(j = 0 ; j <= base ; j ++) ~~^~~~~~~ main.cpp:15:16: warning: iteration 35 invokes undefined behavior [-Waggressive-loop-optimizations] lg2[i] = (1 << i); ~~~~~~~^~~~~~~~~~ main.cpp:14:19: note: within this loop for(i = 0 ; i <= base ; i ++) ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 1100
311ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
52ms131kbKilled by Signal 1100
62ms131kbKilled by Signal 1100
73ms131kbKilled by Signal 1100
82ms131kbKilled by Signal 1100
92ms131kbKilled by Signal 1100
102ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
122ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
142ms131kbKilled by Signal 110
152ms131kbKilled by Signal 1100
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?