Pagini recente »
Borderou de evaluare (job #27470)
|
Borderou de evaluare (job #160334)
|
Borderou de evaluare (job #304298)
|
Borderou de evaluare (job #127826)
|
Borderou de evaluare (job #798883)
Borderou de evaluare (job #798883)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(in, "%d %d ",&c,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:8: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(in, "%d ",&x);
| ^~~~~~~~~~~~~~~~~~~~
main.c:30:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | fscanf(in, "%d ",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:17:13: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations]
17 | if(v[i] > max){
| ~^~~
main.c:16:17: note: within this loop
16 | for(i = 1;i <= 100002;i++){
| ~~^~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
9 ms
|
249 kb
|
Incorect
|
0
|
5
|
29 ms
|
249 kb
|
Incorect
|
0
|
6
|
49 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
3
|
8
|
2 ms
|
245 kb
|
OK
|
3
|
9
|
2 ms
|
245 kb
|
OK
|
4
|
10
|
1 ms
|
245 kb
|
OK
|
4
|
11
|
1 ms
|
507 kb
|
OK
|
4
|
12
|
1 ms
|
507 kb
|
OK
|
4
|
13
|
2 ms
|
507 kb
|
OK
|
4
|
14
|
1 ms
|
245 kb
|
OK
|
4
|
15
|
2 ms
|
245 kb
|
OK
|
5
|
16
|
19 ms
|
507 kb
|
OK
|
5
|
17
|
9 ms
|
249 kb
|
OK
|
5
|
18
|
19 ms
|
503 kb
|
OK
|
5
|
19
|
39 ms
|
528 kb
|
OK
|
5
|
20
|
49 ms
|
499 kb
|
OK
|
5
|
21
|
59 ms
|
512 kb
|
OK
|
5
|
22
|
1 ms
|
245 kb
|
OK
|
2
|
23
|
1 ms
|
245 kb
|
OK
|
3
|
Punctaj total
|
70
|