Pagini recente »
Borderou de evaluare (job #313461)
|
Borderou de evaluare (job #762819)
|
Borderou de evaluare (job #350651)
|
Borderou de evaluare (job #339831)
|
Borderou de evaluare (job #613221)
Borderou de evaluare (job #613221)
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 [80, 83] is out of the bounds [0, 80] of object 'nrdivizori' with type 'int[20]' [-Warray-bounds]
29 | divizori[i][d] = nrdivizori[d];
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.c:9:5: note: 'nrdivizori' declared here
9 | int nrdivizori[DIV];
| ^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
138 ms
|
46133 kb
|
Memory limit exceeded
|
0
|
2
|
134 ms
|
43905 kb
|
Memory limit exceeded
|
0
|
3
|
135 ms
|
45346 kb
|
Memory limit exceeded
|
0
|
4
|
136 ms
|
49938 kb
|
Memory limit exceeded
|
0
|
5
|
136 ms
|
42336 kb
|
Memory limit exceeded
|
0
|
6
|
132 ms
|
43118 kb
|
Memory limit exceeded
|
0
|
7
|
137 ms
|
44302 kb
|
Memory limit exceeded
|
0
|
8
|
133 ms
|
44036 kb
|
Memory limit exceeded
|
0
|
9
|
133 ms
|
43905 kb
|
Memory limit exceeded
|
0
|
10
|
132 ms
|
42598 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
0
|