Pagini recente »
Borderou de evaluare (job #642429)
|
Borderou de evaluare (job #398329)
|
Borderou de evaluare (job #568924)
|
Borderou de evaluare (job #319532)
|
Borderou de evaluare (job #765933)
Borderou de evaluare (job #765933)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d %d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:102:16: warning: 'nn' may be used uninitialized [-Wmaybe-uninitialized]
102 | else if(nn>nm)
| ^
main.c:9:29: note: 'nn' was declared here
9 | int c, n, nr, i, max=0, nn, x, s, cg=0, cm=0, cu, nm;
| ^~
main.c:102:16: warning: 'nm' may be used uninitialized [-Wmaybe-uninitialized]
102 | else if(nn>nm)
| ^
main.c:9:55: note: 'nm' was declared here
9 | int c, n, nr, i, max=0, nn, x, s, cg=0, cm=0, cu, nm;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
241 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
241 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
9
|
1 ms
|
507 kb
|
Incorect
|
0
|
10
|
1 ms
|
266 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
507 kb
|
OK
|
5
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
507 kb
|
OK
|
5
|
19
|
1 ms
|
507 kb
|
OK
|
5
|
20
|
19 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
60
|