Borderou de evaluare (job #1653355)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 15 martie 2016 21:47:01
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < d[i - 1].size(); ++j){ ^ user.cpp:56:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",ANS); ^ user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("homm.in","r",stdin); ^ user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("homm.out","w",stdout); ^ user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&k); ^ user.cpp:30:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ user.cpp:35:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&xi,&yi,&xf,&yf); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit52416kbTime limit exceeded.0
28ms2860kbOK10
3152ms41308kbOK10
412ms3116kbOK10
5Depăşit51064kbTime limit exceeded.0
6Depăşit59224kbTime limit exceeded.0
7148ms40952kbOK10
8Depăşit86508kbTime limit exceeded.0
9Depăşit83036kbTime limit exceeded.0
108ms3092kbOK10
Punctaj total50

Ceva nu functioneaza?