Borderou de evaluare (job #1607461)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:21: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(v[i-1][j]!=0 xor v[i][j-1]!=0)
^
user.cpp:44:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld",&q);
^
user.cpp:47:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld%ld",&a,&b);
^
user.cpp:47:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:48:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld\n",v[a][b]);
^
user.cpp:9:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
user.cpp:44:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&q);
^
user.cpp:47:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 508kb | Incorect | 0 |
2 | 0ms | 552kb | Incorect | 0 |
3 | 0ms | 576kb | Incorect | 0 |
4 | 0ms | 628kb | Incorect | 0 |
5 | 0ms | 808kb | Incorect | 0 |
6 | 4ms | 952kb | Incorect | 0 |
7 | 8ms | 956kb | Incorect | 0 |
8 | 16ms | 1436kb | Incorect | 0 |
9 | 20ms | 1632kb | Incorect | 0 |
10 | 36ms | 1632kb | Incorect | 0 |
11 | 88ms | 2028kb | Incorect | 0 |
12 | 124ms | 2428kb | Incorect | 0 |
13 | 160ms | 2820kb | Incorect | 0 |
14 | 248ms | 3212kb | Incorect | 0 |
15 | 348ms | 3612kb | Incorect | 0 |
16 | 384ms | 3608kb | Incorect | 0 |
17 | 464ms | 3812kb | Incorect | 0 |
18 | 528ms | 4196kb | Incorect | 0 |
19 | 580ms | 4400kb | Incorect | 0 |
20 | 596ms | 4396kb | Incorect | 0 |
Punctaj total | 0 |