Borderou de evaluare (job #1670414)

Utilizator ZenusTudor Costin Razvan Zenus Data 31 martie 2016 18:28:47
Problema Praslea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘long long int query(int)’: user.cpp:19:31: warning: unused variable ‘i’ [-Wunused-variable] int dpmax = 0 , lim = 0 , i , g , p , k; ^ user.cpp: In function ‘int main()’: user.cpp:60:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < events.size() ; ) ^ user.cpp:66:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < events.size() && events[i].day == x0 && events[i].type == 0) ^ user.cpp:74:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < events.size() && events[i].day == x0 && events[i].type == 1) ^ user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("praslea.in" , "r" , stdin); ^ user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("praslea.out" , "w" , stdout); ^ user.cpp:43:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &rmax); ^ user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:49:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &b); ^ user.cpp:50:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &f); ^ user.cpp:51:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &r); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
252ms480kbOK10
368ms480kbOK10
40ms452kbOK10
54ms460kbOK10
612ms476kbOK10
720ms476kbOK10
864ms480kbOK10
9Depăşit456kbTime limit exceeded.0
10Depăşit432kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?