Pagini recente »
Borderou de evaluare (job #184210)
|
Borderou de evaluare (job #68493)
|
Borderou de evaluare (job #152933)
|
Clasament concurs_9_incepatori
|
Borderou de evaluare (job #613222)
Borderou de evaluare (job #613222)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:27:24: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | nrdivizori[ciur[i]]++;
| ~~~~^~~
main.c:33:10: warning: unused variable 'ch' [-Wunused-variable]
33 | char ch, a;
| ^~
main.c:16:21: warning: unused variable 'cop' [-Wunused-variable]
16 | int x, y, i, d, cop;
| ^~~
main.c:16:12: warning: unused variable 'y' [-Wunused-variable]
16 | int x, y, i, d, cop;
| ^
main.c:16:9: warning: unused variable 'x' [-Wunused-variable]
16 | int x, y, i, d, cop;
| ^
main.c:45:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | fscanf(fin, "%d%d", &b, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:24: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations]
27 | nrdivizori[ciur[i]]++;
| ~~~~^~~
main.c:25:5: note: within this loop
25 | for(i = 0; i <= MAX; i++)
| ^~~
main.c:29:39: warning: iteration 20 invokes undefined behavior [-Waggressive-loop-optimizations]
29 | divizori[i][d] = nrdivizori[d];
| ~~~~~~~~~~^~~
main.c:28:9: note: within this loop
28 | for(d = 0; d <= DIV; d++)
| ^~~
main.c:29:27: warning: '__builtin_memcpy' forming offset 20 is out of the bounds [0, 20] of object 'nrdivizori' with type 'char[20]' [-Warray-bounds]
29 | divizori[i][d] = nrdivizori[d];
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.c:9:6: note: 'nrdivizori' declared here
9 | char nrdivizori[DIV];
| ^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
96 ms
|
21229 kb
|
OK
|
10
|
2
|
101 ms
|
21233 kb
|
OK
|
10
|
3
|
101 ms
|
21233 kb
|
OK
|
10
|
4
|
99 ms
|
21233 kb
|
OK
|
10
|
5
|
100 ms
|
21233 kb
|
Incorect
|
0
|
6
|
94 ms
|
21233 kb
|
Incorect
|
0
|
7
|
103 ms
|
21229 kb
|
Incorect
|
0
|
8
|
218 ms
|
21221 kb
|
Incorect
|
0
|
9
|
224 ms
|
21221 kb
|
Incorect
|
0
|
10
|
206 ms
|
21221 kb
|
Incorect
|
0
|
Penalizare: 3% (pentru 1 submisie/ii)
|
3%
|
Punctaj total
|
38
|