Pagini recente »
Borderou de evaluare (job #584883)
|
Borderou de evaluare (job #78075)
|
Borderou de evaluare (job #734689)
|
Borderou de evaluare (job #48402)
|
Borderou de evaluare (job #604637)
Borderou de evaluare (job #604637)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:9: warning: unused variable 'h' [-Wunused-variable]
8 | int h,n,i,x,sr=1,s=0,fx;
| ^
main.cpp:9:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(in, "%d", &n);
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:12:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(in, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:13:9: warning: 'fx' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 | if(fx<x){
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
OK
|
10
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
Incorect
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
10
|