Pagini recente » Borderou de evaluare (job #1572282) | Borderou de evaluare (job #232368) | Borderou de evaluare (job #1857550) | Borderou de evaluare (job #1555775) | Borderou de evaluare (job #2655342)
Borderou de evaluare (job #2655342)
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 |
1 | 8ms | 131kb | OK | 10 | 40 |
2 | 6ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 14ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 | 30 |
6 | 18ms | 131kb | OK | 10 |
7 | 6ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 | 30 |
9 | 3ms | 131kb | OK | 10 |
10 | 11ms | 131kb | OK | 10 |
Punctaj total | 100 |