Pagini recente » Borderou de evaluare (job #722456) | Borderou de evaluare (job #1420922) | Borderou de evaluare (job #710145) | Borderou de evaluare (job #710531) | Borderou de evaluare (job #2586498)
Borderou de evaluare (job #2586498)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:92: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >::difference_type {aka long int}' [-Wformat=]
printf("%d\n",upper_bound(nr.begin(),nr.end(),b)-lower_bound(nr.begin(),nr.end(),a));
^
main.cpp:14:9: warning: unused variable 'lim' [-Wunused-variable]
int lim=1000;
^~~
main.cpp:9:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asi.in","r",stdin);
^
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asi.out","w",stdout);
^
main.cpp:29:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
main.cpp:32:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 99ms | 5488kb | Incorect | 0 | 0 |
2 | 95ms | 5488kb | Incorect | 0 | 0 |
3 | 94ms | 5488kb | Incorect | 0 | 0 |
4 | 94ms | 5488kb | Incorect | 0 |
5 | 98ms | 5488kb | Incorect | 0 |
6 | 201ms | 5488kb | Incorect | 0 | 0 |
7 | 192ms | 5488kb | Incorect | 0 |
8 | 221ms | 5488kb | Incorect | 0 |
9 | 236ms | 5488kb | Incorect | 0 | 0 |
10 | 240ms | 5488kb | Incorect | 0 |
11 | 254ms | 5488kb | Incorect | 0 |
12 | 226ms | 5488kb | Incorect | 0 |
13 | 290ms | 5488kb | Incorect | 0 | 0 |
14 | 280ms | 5488kb | Incorect | 0 |
15 | 311ms | 5488kb | Incorect | 0 |
16 | 276ms | 5488kb | Incorect | 0 |
17 | 313ms | 5488kb | Incorect | 0 |
18 | 313ms | 5488kb | Incorect | 0 |
19 | 311ms | 5488kb | Incorect | 0 |
20 | 295ms | 5488kb | Incorect | 0 |
Punctaj total | 0 |