Borderou de evaluare (job #2703205)
Utilizator | Data | 7 februarie 2021 17:05:46 | |
---|---|---|---|
Problema | Hanoi4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:13: error: 'MAX' was not declared in this scope
sol=MAX;
^~~
main.cpp:22:56: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
sol=min(1LL*sol, 1LL*2*a[j]+1LL*(1LL<<i-j)-1 );
~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !