Borderou de evaluare (job #2538869)

Utilizator CharacterMeCharacter Me CharacterMe Data 5 februarie 2020 11:47:13
Problema Ubuntzei 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:39:30: error: 'l' was not declared in this scope if(now.second==((1<<(l+1))-1)) { ^ main.cpp:44:24: error: 'l' was not declared in this scope for(ll i=1; i<=l; ++i){ ^ main.cpp:45:22: error: no match for 'operator>>' (operand types are 'str' and 'll {aka long long int}') if(!((now>>i)&1)){ ~~~^~~ main.cpp:46:58: error: expected primary-expression before ']' token str next={now.first+dist[now.third][list[]];} ^ main.cpp:46:60: error: expected '}' before ';' token str next={now.first+dist[now.third][list[]];} ^ main.cpp:46:21: warning: unused variable 'next' [-Wunused-variable] str next={now.first+dist[now.third][list[]];} ^~~~ main.cpp:43:12: warning: unused variable 'cp' [-Wunused-variable] ll cp=now.second; ^~ main.cpp: At global scope: main.cpp:50:5: error: expected unqualified-id before 'return' return 0; ^~~~~~ main.cpp:51:1: error: expected declaration before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?