Pagini recente »
Borderou de evaluare (job #100932)
|
Borderou de evaluare (job #717847)
Borderou de evaluare (job #717847)
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:36:56: warning: 'ca' may be used uninitialized in this function [-Wmaybe-uninitialized]
36 | if(((a[0][i] == 1 && ca == 1) || (a[1][i] == 1 && ca == 0)) && a[0][i] != a[1][i]){
| ~~~~~~~~~~~~~~^~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
4
|
2
|
3 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
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
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
3 ms
|
507 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
9 ms
|
249 kb
|
Incorect
|
0
|
20
|
49 ms
|
507 kb
|
Incorect
|
0
|
21
|
79 ms
|
770 kb
|
Incorect
|
0
|
22
|
99 ms
|
1036 kb
|
Incorect
|
0
|
Punctaj total
|
36
|