Borderou de evaluare (job #1734891)
Utilizator | Data | 28 iulie 2016 14:32:03 | |
---|---|---|---|
Problema | Monezi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: invalid use of template-name ‘std::bitset’ without an argument list
bitset pos[(1<<17)][512];
^
user.cpp:7:1: error: invalid use of template-name ‘std::bitset’ without an argument list
bitset used[19];
^
user.cpp: In function ‘void bk(int)’:
user.cpp:14:16: error: ‘pos’ was not declared in this scope
if(pos[nr][i])
^
user.cpp:19:16: error: ‘pos’ was not declared in this scope
if(pos[nr+j][i])
^
user.cpp:30:17: error: ‘used’ was not declared in this scope
if(!used[i]&&pos[nr+(1<<(i-1))][0]==0)
^
user.cpp:30:26: error: ‘pos’ was not declared in this scope
if(!used[i]&&pos[nr+(1<<(i-1))][0]==0)
^
user.cpp: In function ‘int main()’:
user.cpp:48:5: error: ‘pos’ was not declared in this scope
pos[0][0]=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !