Pagini recente »
Borderou de evaluare (job #349592)
|
Borderou de evaluare (job #594375)
|
Borderou de evaluare (job #437707)
|
Borderou de evaluare (job #820037)
|
Borderou de evaluare (job #630080)
Borderou de evaluare (job #630080)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:89: warning: unused variable 'ts' [-Wunused-variable]
11 | int n, l, lin, col, i = 0, nr = 0, p, suma = 0, d, ok = 0, ms = 0, scnt = 0, t = 0, ts = 0, j = 0, cnt = 0;
| ^~
main.c:11:82: warning: unused variable 't' [-Wunused-variable]
11 | int n, l, lin, col, i = 0, nr = 0, p, suma = 0, d, ok = 0, ms = 0, scnt = 0, t = 0, ts = 0, j = 0, cnt = 0;
| ^
main.c:11:72: warning: unused variable 'scnt' [-Wunused-variable]
11 | int n, l, lin, col, i = 0, nr = 0, p, suma = 0, d, ok = 0, ms = 0, scnt = 0, t = 0, ts = 0, j = 0, cnt = 0;
| ^~~~
main.c:11:64: warning: unused variable 'ms' [-Wunused-variable]
11 | int n, l, lin, col, i = 0, nr = 0, p, suma = 0, d, ok = 0, ms = 0, scnt = 0, t = 0, ts = 0, j = 0, cnt = 0;
| ^~
main.c:11:43: warning: unused variable 'suma' [-Wunused-variable]
11 | int n, l, lin, col, i = 0, nr = 0, p, suma = 0, d, ok = 0, ms = 0, scnt = 0, t = 0, ts = 0, j = 0, cnt = 0;
| ^~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d", &l, &p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d%d", &lin, &col, &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:31:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | fscanf(fin, "%d%d", &lin, &col);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:42:16: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
42 | dir[i] = d;
| ~~~~~~~^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
118 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|