Borderou de evaluare (job #1846720)

Utilizator silkMarin Dragos silk Data 13 ianuarie 2017 23:22:30
Problema PScPld2D Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void Build_()’: user.cpp:61:67: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] rmq[k][i][j] = MIN(rmq[k-1][i][j], rmq[k-1][i][j+(1<<k-1)]); ^ user.cpp:6:23: note: in definition of macro ‘MIN’ #define MIN(a,b)((a)<(b)?(a):(b)) ^ user.cpp:61:67: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] rmq[k][i][j] = MIN(rmq[k-1][i][j], rmq[k-1][i][j+(1<<k-1)]); ^ user.cpp:6:31: note: in definition of macro ‘MIN’ #define MIN(a,b)((a)<(b)?(a):(b)) ^ user.cpp: In function ‘void Solve()’: user.cpp:90:58: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] now[k][j] = MIN(now[k-1][j], now[k-1][j+(1<<k-1)]); ^ user.cpp:6:23: note: in definition of macro ‘MIN’ #define MIN(a,b)((a)<(b)?(a):(b)) ^ user.cpp:90:58: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] now[k][j] = MIN(now[k-1][j], now[k-1][j+(1<<k-1)]); ^ user.cpp:6:31: note: in definition of macro ‘MIN’ #define MIN(a,b)((a)<(b)?(a):(b)) ^ user.cpp: In function ‘void Read()’: user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&N); ^ user.cpp:26:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,NMax,stdin); ^ user.cpp: In function ‘int main()’: user.cpp:130:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld2d.in","r",stdin); ^ user.cpp:131:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld2d.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms608kbOK1010
24ms2156kbOK1010
34ms2176kbOK1010
4116ms11624kbOK1020
5116ms11596kbOK10
6Depăşit24848kbTime limit exceeded.00
7432ms24900kbOK10
8Depăşit24848kbTime limit exceeded.00
9420ms24900kbOK10
10368ms24896kbOK10
Punctaj total50

Ceva nu functioneaza?