Pagini recente » Borderou de evaluare (job #962880) | Borderou de evaluare (job #1876043) | Borderou de evaluare (job #2447770) | Borderou de evaluare (job #2870322) | Borderou de evaluare (job #422068)
Borderou de evaluare (job #422068)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void fillp(int, int)':
main.cpp:33:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (valid(x+xk[i],y+yk[i]))
^
main.cpp: In function 'int BF()':
main.cpp:49:29: error: 'memset' was not declared in this scope
memset(viz,0,sizeof(viz));
^
main.cpp: In function 'void solve()':
main.cpp:80:39: error: 'memset' was not declared in this scope
memset(vz,0,sizeof(vz));
^
main.cpp:95:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&i1,&j1,&i2,&j2);
^
main.cpp: In function 'void cit()':
main.cpp:113:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","r",stdin);
^
main.cpp:114:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","w",stdout);
^
main.cpp:115:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&N,&M,&T);
^
main.cpp:117:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a[i]);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 228ms | 5372kb | OK! | 10 |
2 | Depăşit | 5812kb | Time limit exceeded. | 0 |
3 | Depăşit | 8100kb | Time limit exceeded. | 0 |
4 | Depăşit | 17492kb | Time limit exceeded. | 0 |
5 | Depăşit | 49672kb | Time limit exceeded. | 0 |
6 | Depăşit | 44840kb | Time limit exceeded. | 0 |
7 | Depăşit | 38596kb | Time limit exceeded. | 0 |
8 | Depăşit | 39568kb | Time limit exceeded. | 0 |
9 | Depăşit | 40484kb | Time limit exceeded. | 0 |
10 | Depăşit | 41184kb | Time limit exceeded. | 0 |
Punctaj total | 0 |