Pagini recente » Borderou de evaluare (job #814230) | Borderou de evaluare (job #2944009) | Borderou de evaluare (job #1578664) | Borderou de evaluare (job #814347) | Borderou de evaluare (job #1670414)
Borderou de evaluare (job #1670414)
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 |
1 | 0ms | 444kb | OK | 10 |
2 | 52ms | 480kb | OK | 10 |
3 | 68ms | 480kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 4ms | 460kb | OK | 10 |
6 | 12ms | 476kb | OK | 10 |
7 | 20ms | 476kb | OK | 10 |
8 | 64ms | 480kb | OK | 10 |
9 | Depăşit | 456kb | Time limit exceeded. | 0 |
10 | Depăşit | 432kb | Time limit exceeded. | 0 |
Punctaj total | 80 |