Borderou de evaluare (job #2734319)
Utilizator | Data | 31 martie 2021 18:22:41 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:6: error: 'bitset' in namespace 'std' does not name a template type
std::bitset<1 + maxn> seenCon ;
^~~~~~
main.cpp: In function 'void checkCon(int)':
main.cpp:19:3: error: 'seenCon' was not declared in this scope
seenCon[node] = true ;
^~~~~~~
main.cpp: At global scope:
main.cpp:27:6: error: 'bitset' in namespace 'std' does not name a template type
std::bitset<1 + maxn> seenEuler ;
^~~~~~
main.cpp: In function 'void getEuler(int)':
main.cpp:34:10: error: 'seenEuler' was not declared in this scope
if (!seenEuler[top.idx]) {
^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:53:29: error: 'seenCon' was not declared in this scope
if (G[i].size() % 2 || !seenCon[i]) {
^~~~~~~
main.cpp:44:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &n, &m) ;
^
main.cpp:47:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &x, &y) ;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !