Pagini recente » Borderou de evaluare (job #1276249) | Borderou de evaluare (job #1376987) | Borderou de evaluare (job #2896565) | Borderou de evaluare (job #105843) | Borderou de evaluare (job #1554477)
Borderou de evaluare (job #1554477)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spider.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spider.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&n);
^
user.cpp:12:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;++j) scanf("%d",&mat[i][j]);
^
user.cpp:78:26: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(mat[l+dx[k]][c+dy[k]]>minn && mat[l+dx[k]][c+dy[k]]<=mat[l][c] && !(l+dx[k]==ll && c+dy[k]==cc) ) { dir=k; minn=mat[l+dx[k]][c+dy[k]]; }
^
user.cpp:78:17: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(mat[l+dx[k]][c+dy[k]]>minn && mat[l+dx[k]][c+dy[k]]<=mat[l][c] && !(l+dx[k]==ll && c+dy[k]==cc) ) { dir=k; minn=mat[l+dx[k]][c+dy[k]]; }
^
user.cpp:78:106: warning: ‘cc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(mat[l+dx[k]][c+dy[k]]>minn && mat[l+dx[k]][c+dy[k]]<=mat[l][c] && !(l+dx[k]==ll && c+dy[k]==cc) ) { dir=k; minn=mat[l+dx[k]][c+dy[k]]; }
^
user.cpp:78:75: warning: ‘ll’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(mat[l+dx[k]][c+dy[k]]>minn && mat[l+dx[k]][c+dy[k]]<=mat[l][c] && !(l+dx[k]==ll && c+dy[k]==cc) ) { dir=k; minn=mat[l+dx[k]][c+dy[k]]; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 5 |
2 | 0ms | 368kb | OK | 5 |
3 | 0ms | 516kb | OK | 5 |
4 | 0ms | 612kb | OK | 5 |
5 | 64ms | 716kb | OK | 5 |
6 | 4ms | 808kb | OK | 5 |
7 | Depăşit | 1032kb | Time limit exceeded. | 0 |
8 | 56ms | 2724kb | OK | 5 |
9 | Depăşit | 2088kb | Time limit exceeded. | 0 |
10 | 124ms | 4184kb | OK | 5 |
11 | Depăşit | 2824kb | Time limit exceeded. | 0 |
12 | 200ms | 5508kb | OK | 5 |
13 | Depăşit | 3068kb | Time limit exceeded. | 0 |
14 | 256ms | 6168kb | OK | 5 |
15 | Depăşit | 3400kb | Time limit exceeded. | 0 |
16 | 312ms | 6640kb | OK | 5 |
17 | Depăşit | 3800kb | Time limit exceeded. | 0 |
18 | 440ms | 8008kb | OK | 5 |
19 | Depăşit | 4184kb | Time limit exceeded. | 0 |
20 | 420ms | 8100kb | OK | 5 |
Punctaj total | 65 |