Pagini recente »
Borderou de evaluare (job #477888)
|
Borderou de evaluare (job #548461)
|
Borderou de evaluare (job #618720)
|
Borderou de evaluare (job #357699)
|
Borderou de evaluare (job #811459)
Borderou de evaluare (job #811459)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(in, "%d ",&n);
| ^~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(in, "%d ",&x);
| ^~~~~~~~~~~~~~~~~~~~
main.c:37:12: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
37 | while(f[c] != 0 && ok == 1){
| ~^~~
main.c:9:25: note: 'c' was declared here
9 | int n, i, x, a = 0, c, max = 0, ok = 0;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
4 ms
|
245 kb
|
OK
|
10
|
2
|
4 ms
|
245 kb
|
OK
|
10
|
3
|
4 ms
|
245 kb
|
Incorect
|
0
|
4
|
4 ms
|
245 kb
|
Incorect
|
0
|
5
|
4 ms
|
245 kb
|
OK
|
10
|
6
|
4 ms
|
245 kb
|
Incorect
|
0
|
7
|
5 ms
|
245 kb
|
Incorect
|
0
|
8
|
6 ms
|
245 kb
|
Incorect
|
0
|
9
|
8 ms
|
245 kb
|
Incorect
|
0
|
10
|
9 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
30
|