Pagini recente » Borderou de evaluare (job #570098) | Borderou de evaluare (job #529709) | Borderou de evaluare (job #179246) | Borderou de evaluare (job #1593011) | Borderou de evaluare (job #2526623)
Borderou de evaluare (job #2526623)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:137:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b%2==0&&tot-1+L<=b)
~~~~~~~^~~
main.cpp:147:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(b%2==1 &&(tot-1)/2+L<=b)
~~~~~~~~~~~^~~
main.cpp:161:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long unsigned int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",rez.size()/2);
^
main.cpp:162:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<rez.size();i++)
~^~~~~~~~~~~
main.cpp:57:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in","r",stdin);
^
main.cpp:58:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out","w",stdout);
^
main.cpp:59:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 79ms | 14286kb | Corect! | 5 |
2 | 70ms | 14286kb | Corect! | 5 |
3 | 69ms | 14417kb | Corect! | 5 |
4 | 70ms | 14286kb | Corect! | 5 |
5 | 68ms | 14286kb | Corect! | 5 |
6 | 67ms | 14286kb | Corect! | 5 |
7 | 69ms | 14286kb | Corect! | 5 |
8 | 70ms | 14286kb | Corect! | 5 |
9 | 91ms | 15196kb | Corect! | 5 |
10 | 80ms | 14807kb | Corect! | 5 |
11 | 77ms | 14680kb | Corect! | 5 |
12 | 76ms | 14680kb | Corect! | 5 |
13 | 70ms | 14286kb | Corect! | 5 |
14 | 72ms | 14417kb | Corect! | 5 |
15 | 67ms | 14286kb | Corect! | 5 |
16 | 67ms | 14286kb | Corect! | 5 |
17 | 101ms | 15728kb | Corect! | 5 |
18 | 132ms | 15728kb | Corect! | 5 |
19 | 70ms | 14417kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |