Pagini recente » Borderou de evaluare (job #804491) | Borderou de evaluare (job #1007202) | Borderou de evaluare (job #2617248) | Borderou de evaluare (job #1150244) | Borderou de evaluare (job #1857438)
Borderou de evaluare (job #1857438)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<dq.size(); ++i)
^
user.cpp:35:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a[i][j]==a[i+1][j]+1||a[i][j]==a[i+1][j]-1||b[i][j]==b[i+1][j]+1||b[i][j]==b[i+1][j]-1)
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zona.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zona.out","w",stdout);
^
user.cpp:10:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&n,&q);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Corect | 10 |
2 | 0ms | 452kb | Corect | 10 |
3 | 0ms | 448kb | Corect | 10 |
4 | 0ms | 460kb | Corect | 10 |
5 | 0ms | 456kb | Corect | 10 |
6 | 0ms | 456kb | Corect | 10 |
7 | 0ms | 452kb | Corect | 10 |
8 | 0ms | 468kb | Corect | 10 |
9 | 0ms | 468kb | Corect | 10 |
10 | 0ms | 468kb | Corect | 10 |
Punctaj total | 100 |