Pagini recente » Borderou de evaluare (job #313502) | Borderou de evaluare (job #1091245) | Borderou de evaluare (job #995990) | Borderou de evaluare (job #762421) | Borderou de evaluare (job #2526611)
Borderou de evaluare (job #2526611)
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:148:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(b%2==1 &&(tot-1)/2+L<=b)
~~~~~~~~~~~^~~
main.cpp:162: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:163: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 | 55ms | 12976kb | Corect! | 5 |
2 | 68ms | 12976kb | Corect! | 5 |
3 | 67ms | 12976kb | Corect! | 5 |
4 | 67ms | 12976kb | Corect! | 5 |
5 | 67ms | 12845kb | Corect! | 5 |
6 | 66ms | 12976kb | Corect! | 5 |
7 | 67ms | 12976kb | Corect! | 5 |
8 | 74ms | 12976kb | Corect! | 5 |
9 | 91ms | 13754kb | Corect! | 5 |
10 | 79ms | 13496kb | Corect! | 5 |
11 | 74ms | 13238kb | Corect! | 5 |
12 | 74ms | 13238kb | Corect! | 5 |
13 | 68ms | 12976kb | Incorect! | 0 |
14 | 64ms | 12976kb | Killed by Signal 8 | 0 |
15 | 68ms | 12976kb | Incorect! | 0 |
16 | 75ms | 12976kb | Corect! | 5 |
17 | 114ms | 14286kb | Corect! | 5 |
18 | 108ms | 14286kb | Corect! | 5 |
19 | 67ms | 12976kb | Corect! (Exemplu) | 10 |
Punctaj total | 85 |