Pagini recente » Borderou de evaluare (job #1450737) | Borderou de evaluare (job #2455536) | Borderou de evaluare (job #3169810) | Borderou de evaluare (job #2760083) | Borderou de evaluare (job #1607464)
Borderou de evaluare (job #1607464)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:21: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(v[i-1][j]!=0 xor v[i][j-1]!=0)
^
user.cpp:40:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld",&q);
^
user.cpp:43: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:43:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:44: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:40: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:43: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 | 504kb | OK | 5 |
2 | 0ms | 544kb | OK | 5 |
3 | 0ms | 572kb | OK | 5 |
4 | 0ms | 620kb | OK | 5 |
5 | 0ms | 796kb | OK | 5 |
6 | 4ms | 944kb | OK | 5 |
7 | 8ms | 944kb | OK | 5 |
8 | 16ms | 1432kb | OK | 5 |
9 | 20ms | 1624kb | OK | 5 |
10 | 36ms | 1632kb | OK | 5 |
11 | 88ms | 2020kb | OK | 5 |
12 | 124ms | 2416kb | OK | 5 |
13 | 160ms | 2812kb | OK | 5 |
14 | 248ms | 3208kb | OK | 5 |
15 | 352ms | 3596kb | OK | 5 |
16 | 400ms | 3596kb | OK | 5 |
17 | 464ms | 3800kb | OK | 5 |
18 | 528ms | 4192kb | OK | 5 |
19 | 576ms | 4392kb | OK | 5 |
20 | 596ms | 4392kb | OK | 5 |
Punctaj total | 100 |