Pagini recente »
Borderou de evaluare (job #722212)
|
Borderou de evaluare (job #757910)
Borderou de evaluare (job #757910)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf(fin,"%d%d\n",&n,&m);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.cpp:1:
In function 'int fprintf(FILE*, const char*, ...)',
inlined from 'int main()' at main.cpp:65:12:
/usr/include/bits/stdio2.h:79:24: warning: 's1' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:17:18: note: 's1' was declared here
17 | int i,j,lmax,s1,s2;
| ^~
In function 'int fprintf(FILE*, const char*, ...)',
inlined from 'int main()' at main.cpp:65:12:
/usr/include/bits/stdio2.h:79:24: warning: 's2' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:17:21: note: 's2' was declared here
17 | int i,j,lmax,s1,s2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
770 kb
|
OK
|
10
|
4
|
1 ms
|
1032 kb
|
OK
|
10
|
5
|
9 ms
|
1814 kb
|
OK
|
10
|
6
|
19 ms
|
2863 kb
|
OK
|
10
|
7
|
15 ms
|
3133 kb
|
OK
|
10
|
8
|
39 ms
|
4435 kb
|
OK
|
10
|
9
|
39 ms
|
4440 kb
|
OK
|
10
|
10
|
39 ms
|
4431 kb
|
OK
|
10
|
Punctaj total
|
100
|