Pagini recente » Borderou de evaluare (job #1197643) | Borderou de evaluare (job #2693394) | Borderou de evaluare (job #842908) | Borderou de evaluare (job #1732835) | Borderou de evaluare (job #1670402)
Borderou de evaluare (job #1670402)
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 |
1 | 0ms | 456kb | OK | 10 |
2 | 44ms | 488kb | OK | 10 |
3 | 52ms | 488kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 4ms | 468kb | OK | 10 |
6 | 12ms | 488kb | OK | 10 |
7 | 16ms | 484kb | OK | 10 |
8 | 44ms | 488kb | OK | 10 |
9 | Depăşit | 448kb | Time limit exceeded. | 0 |
10 | Depăşit | 440kb | Time limit exceeded. | 0 |
Punctaj total | 80 |