Borderou de evaluare (job #1846495)

Utilizator silkMarin Dragos silk Data 13 ianuarie 2017 00:16:27
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
10ms604kbOK1010
24ms2156kbOK1010
34ms2168kbOK1010
4116ms11620kbOK1020
5116ms11600kbOK10
6Depăşit24840kbTime limit exceeded.00
7452ms24892kbOK10
8Depăşit24840kbTime limit exceeded.00
9456ms24900kbOK10
10404ms24896kbOK10
Punctaj total50

Ceva nu functioneaza?