Pagini recente »
Borderou de evaluare (job #825063)
|
Borderou de evaluare (job #295059)
|
Borderou de evaluare (job #695543)
|
Borderou de evaluare (job #831078)
|
Borderou de evaluare (job #846969)
Borderou de evaluare (job #846969)
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",&l);
| ~~~~~~^~~~~~~~~~~~~
main.cpp:31:9: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
31 | if(ciur[i]>max)
| ^~
main.cpp:13:15: note: 'max' was declared here
13 | int l,i,j,max,ult;
| ^~~
In file included from /usr/include/stdio.h:970,
from main.cpp:1:
In function 'int fprintf(FILE*, const char*, ...)',
inlined from 'int main()' at main.cpp:45:12:
/usr/include/bits/stdio2.h:111:24: warning: 'ult' may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:19: note: 'ult' was declared here
13 | int l,i,j,max,ult;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
508 kb
|
OK
|
10
|
|
2
|
1 ms
|
508 kb
|
OK
|
10
|
|
3
|
4 ms
|
764 kb
|
OK
|
10
|
|
4
|
4 ms
|
548 kb
|
OK
|
10
|
|
5
|
12 ms
|
1532 kb
|
OK
|
10
|
|
6
|
20 ms
|
2044 kb
|
OK
|
10
|
|
7
|
28 ms
|
2084 kb
|
OK
|
10
|
|
8
|
39 ms
|
2812 kb
|
OK
|
10
|
|
9
|
42 ms
|
3068 kb
|
OK
|
10
|
|
10
|
74 ms
|
4348 kb
|
OK
|
10
|
|
Punctaj total
|
100
|