Pagini recente »
Borderou de evaluare (job #278111)
|
Borderou de evaluare (job #811383)
Borderou de evaluare (job #811383)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d", &ka, &kb);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:36:5: warning: 'nra' may be used uninitialized [-Wmaybe-uninitialized]
36 | fprintf(fout, "%d\n%d\n%d\n", i - 1, ka + nra, kb + nrb);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:17: note: 'nra' was declared here
12 | int ka, kb, nra, nrb, i;
| ^~~
main.c:36:5: warning: 'nrb' may be used uninitialized [-Wmaybe-uninitialized]
36 | fprintf(fout, "%d\n%d\n%d\n", i - 1, ka + nra, kb + nrb);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:22: note: 'nrb' was declared here
12 | int ka, kb, nra, nrb, i;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
4 ms
|
245 kb
|
Incorect
|
0
|
2
|
4 ms
|
245 kb
|
OK
|
10
|
3
|
5 ms
|
114 kb
|
Incorect
|
0
|
4
|
4 ms
|
245 kb
|
OK
|
10
|
5
|
5 ms
|
245 kb
|
OK
|
10
|
6
|
5 ms
|
241 kb
|
OK
|
10
|
7
|
5 ms
|
245 kb
|
Incorect
|
0
|
8
|
5 ms
|
245 kb
|
OK
|
10
|
9
|
3 ms
|
245 kb
|
Incorect
|
0
|
10
|
4 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
50
|