Pagini recente »
Borderou de evaluare (job #785297)
Borderou de evaluare (job #785297)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:35: warning: unused variable 'y' [-Wunused-variable]
12 | short int ok=0, poz, poz2, x, y;
| ^
main.c:12:32: warning: unused variable 'x' [-Wunused-variable]
12 | short int ok=0, poz, poz2, x, y;
| ^
main.c:12:26: warning: unused variable 'poz2' [-Wunused-variable]
12 | short int ok=0, poz, poz2, x, y;
| ^~~~
main.c:12:21: warning: unused variable 'poz' [-Wunused-variable]
12 | short int ok=0, poz, poz2, x, y;
| ^~~
main.c:12:15: warning: unused variable 'ok' [-Wunused-variable]
12 | short int ok=0, poz, poz2, x, y;
| ^~
main.c:11:18: warning: unused variable 'j' [-Wunused-variable]
11 | int n, i, m, j;
| ^
main.c:9:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable]
9 | FILE *fin, *fout;
| ^~~~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d", &m);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Incorect
|
0
|
2
|
1 ms
|
512 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
19 ms
|
270 kb
|
Incorect
|
0
|
7
|
49 ms
|
507 kb
|
Incorect
|
0
|
8
|
49 ms
|
512 kb
|
Incorect
|
0
|
9
|
49 ms
|
528 kb
|
Incorect
|
0
|
10
|
49 ms
|
507 kb
|
Incorect
|
0
|
Punctaj total
|
0
|