Borderou de evaluare (job #430826)

Utilizator freak93Adrian Budau freak93 Data 31 martie 2010 13:21:50
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
198ms38273kbKilled by Signal 110
2102ms38535kbKilled by Signal 110
394ms39583kbKilled by Signal 110
487ms40632kbKilled by Signal 110
5117ms43253kbKilled by Signal 110
6118ms43778kbKilled by Signal 110
7120ms44040kbKilled by Signal 110
8127ms44433kbKilled by Signal 110
9120ms44302kbKilled by Signal 110
10119ms44433kbKilled by Signal 110
1186ms38141kbKilled by Signal 110
1279ms38273kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?