Pagini recente » Cod sursa (job #563999) | Cod sursa (job #498127) | Cod sursa (job #3195378) | Cod sursa (job #2329556) | Borderou de evaluare (job #519886)
Borderou de evaluare (job #519886)
Raport evaluator
Compilare:
main.cpp: In function 'void exp2(int, int)':
main.cpp:49:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if( xx>=1 && yy>=1 && xx<=N && yy<=M)
^
main.cpp: In function 'int main()':
main.cpp:93: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:94: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:95:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&N,&M,&QQ);
^
main.cpp:96:47: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=N;++i) fgets(a[i]+1,Nmax,stdin);
^
main.cpp:116:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 3538kb | OK! | 8 |
2 | 16ms | 4063kb | OK! | 10 |
3 | 43ms | 6029kb | OK! | 10 |
4 | 93ms | 7995kb | OK! | 10 |
5 | 260ms | 11927kb | OK! | 10 |
6 | 264ms | 12845kb | OK! | 10 |
7 | 308ms | 13369kb | OK! | 10 |
8 | 323ms | 14024kb | OK! | 10 |
9 | 333ms | 14024kb | OK! | 10 |
10 | 310ms | 14024kb | OK! | 10 |
11 | 9ms | 3145kb | OK! | 1 |
12 | 9ms | 3145kb | OK! | 1 |
Punctaj total | 100 |