Pagini recente »
Borderou de evaluare (job #5184)
|
Borderou de evaluare (job #437407)
|
Borderou de evaluare (job #317117)
|
Borderou de evaluare (job #369376)
|
Borderou de evaluare (job #733929)
Borderou de evaluare (job #733929)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf( fin, "%d ", &q );
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:30:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(fin, "%d%d ", &pozstart, &pozend);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:48:9: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
48 | if(j < nrtask - 1)
| ^~
main.cpp:13:40: note: 'j' was declared here
13 | int q, i, pozstart, pozend, nrlit, j, nrtask, x;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
30
|