Pagini recente » Borderou de evaluare (job #225365) | Borderou de evaluare (job #1655751) | Borderou de evaluare (job #284721) | Borderou de evaluare (job #2748828) | Borderou de evaluare (job #1571783)
Borderou de evaluare (job #1571783)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int)’:
user.cpp:29:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
for(d=0;d<4&a;d++)
^
user.cpp:50:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(harta[i][j]==harta[p.x][p.y])
^
user.cpp: In function ‘int main()’:
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in","r",stdin);
^
user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out","w",stdout);
^
user.cpp:79:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&n,&m,&pl,&pc,&cl,&cc);
^
user.cpp:82:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&(harta[i][j]));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 368kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 740kb | OK | 10 |
4 | 4ms | 1076kb | OK | 10 |
5 | 4ms | 1084kb | OK | 10 |
6 | 24ms | 2652kb | OK | 10 |
7 | Depăşit | 4268kb | Time limit exceeded. | 0 |
8 | Depăşit | 5888kb | Time limit exceeded. | 0 |
9 | Depăşit | 8196kb | Time limit exceeded. | 0 |
10 | Depăşit | 8236kb | Time limit exceeded. | 0 |
Punctaj total | 60 |