Pagini recente »
Borderou de evaluare (job #818998)
|
Borderou de evaluare (job #818429)
|
Borderou de evaluare (job #107214)
|
Borderou de evaluare (job #669925)
|
Borderou de evaluare (job #717862)
Borderou de evaluare (job #717862)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:15: warning: unused variable 'b' [-Wunused-variable]
13 | int n,i,c,b,j,s = 0;
| ^
main.c:13:13: warning: unused variable 'c' [-Wunused-variable]
13 | int n,i,c,b,j,s = 0;
| ^
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:18:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&a[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:51:29: warning: 'ca' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | while(((a[0][i] ==1 && ca == 0) || (a[1][i] == 1 && ca == 1) || (ca == 2 && (a[1][i] == 1 || a[0][i] == 1))) && i < n)
| ~~~~~~~~~~~~~^~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
4
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
2 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
245 kb
|
OK
|
4
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
2 ms
|
245 kb
|
Incorect
|
0
|
16
|
2 ms
|
245 kb
|
OK
|
5
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
9 ms
|
249 kb
|
Incorect
|
0
|
20
|
49 ms
|
512 kb
|
Incorect
|
0
|
21
|
79 ms
|
774 kb
|
Incorect
|
0
|
22
|
99 ms
|
1036 kb
|
Incorect
|
0
|
Punctaj total
|
54
|