Pagini recente »
Borderou de evaluare (job #799165)
Borderou de evaluare (job #799165)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d %d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:22:10: warning: 't' may be used uninitialized [-Wmaybe-uninitialized]
22 | t+=k;
| ~^~~
main.c:7:21: note: 't' was declared here
7 | int n, k, i, a, t;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
2 ms
|
143 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
9
|
1 ms
|
507 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|