Borderou de evaluare (job #2655342)

Utilizator YusyBossFares Yusuf YusyBoss Data 4 octombrie 2020 08:58:58
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:13: warning: variable 'nrprime' set but not used [-Wunused-but-set-variable] int a, b, nrprime, i, cnt, max1, nrsol, val, x, rad, j, nrdiv; ^~~~~~~ main.cpp:31:51: warning: unused variable 'rad' [-Wunused-variable] int a, b, nrprime, i, cnt, max1, nrsol, val, x, rad, j, nrdiv; ^~~ main.cpp:34:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &a, &b); ^ main.cpp: In function 'int numereprime()': main.cpp:24:12: warning: iteration 44998 invokes undefined behavior [-Waggressive-loop-optimizations] if (c[i] == 0) ~~~^ main.cpp:23:17: note: within this loop for (i = 2; i <= 45000; i++) ~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms131kbOK1040
26ms131kbOK10
33ms131kbOK10
414ms131kbOK10
53ms131kbOK1030
618ms131kbOK10
76ms131kbOK10
82ms131kbOK1030
93ms131kbOK10
1011ms131kbOK10
Punctaj total100

Ceva nu functioneaza?