Borderou de evaluare (job #1670402)

Utilizator ZenusTudor Costin Razvan Zenus Data 31 martie 2016 18:18:46
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:21:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < now.size() ; ++i) ^ user.cpp: In function ‘int main()’: user.cpp:55:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < events.size() ; ) ^ user.cpp:61: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:69: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:71:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0 ; j < now.size() ; ++j) ^ user.cpp:35: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:36: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:38:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &rmax); ^ user.cpp:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:44:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &b); ^ user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &f); ^ user.cpp:46: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
10ms456kbOK10
244ms488kbOK10
352ms488kbOK10
40ms468kbOK10
54ms468kbOK10
612ms488kbOK10
716ms484kbOK10
844ms488kbOK10
9Depăşit448kbTime limit exceeded.0
10Depăşit440kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?