Pagini recente » Borderou de evaluare (job #554275) | Borderou de evaluare (job #1489385) | Borderou de evaluare (job #977306) | Borderou de evaluare (job #320836) | Borderou de evaluare (job #430849)
Borderou de evaluare (job #430849)
Raport evaluator
Compilare:
main.cpp:10:23: warning: integer overflow in expression [-Woverflow]
const int INF=((1<<31)-1)+1;
~~~~~~~^~
main.cpp: In function 'int main()':
main.cpp:98:39: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
rmq[i][j]=rmq[i-1][j+(1<<i-1)];
~^~
main.cpp:65:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(iname,"r",stdin);
^
main.cpp:66:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(oname,"w",stdout);
^
main.cpp:67:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&q);
^
main.cpp:70:41: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s[i]+1,sizeof(s[i]),stdin);
^
main.cpp:105: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 | 25ms | 12713kb | OK! | 8 |
2 | 33ms | 13238kb | OK! | 10 |
3 | 60ms | 17031kb | OK! | 10 |
4 | 106ms | 23973kb | OK! | 10 |
5 | 309ms | 50561kb | OK! | 10 |
6 | 302ms | 51740kb | OK! | 10 |
7 | 339ms | 54747kb | OK! | 10 |
8 | 346ms | 59199kb | OK! | 10 |
9 | 357ms | 59850kb | OK! | 10 |
10 | 370ms | 59203kb | OK! | 10 |
11 | 28ms | 12320kb | OK! | 1 |
12 | 28ms | 12320kb | OK! | 1 |
Punctaj total | 100 |