Borderou de evaluare (job #2433217)
Utilizator | Data | 26 iunie 2019 13:18:00 | |
---|---|---|---|
Problema | ADN | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:7: error: stray '#' in program
using #include <bits/stdc++.h>
^
main.cpp:3:8: error: expected nested-name-specifier before 'include'
using #include <bits/stdc++.h>
^~~~~~~
main.cpp:7:1: error: 'ifstream' does not name a type
ifstream in("adn.in");
^~~~~~~~
main.cpp:8:1: error: 'ofstream' does not name a type
ofstream out("adn.out");
^~~~~~~~
main.cpp:16:1: error: 'pair' does not name a type
pair <int, int> from[(1 << DIM) + 7][DIM + 7];
^~~~
main.cpp:21:1: error: 'string' does not name a type
string s[DIM + 7];
^~~~~~
main.cpp:23:1: error: 'vector' does not name a type
vector <int> v[DIM + 7];
^~~~~~
main.cpp: In function 'void build(int)':
main.cpp:32:13: error: 's' was not declared in this scope
int n = s[p].size();
^
main.cpp: In function 'void verifica(int, int)':
main.cpp:50:14: error: 's' was not declared in this scope
int m1 = s[x].size() - 1;
^
main.cpp: At global scope:
main.cpp:74:1: error: 'vector' does not name a type
vector <int> ind;
^~~~~~
main.cpp: In function 'void print(int, int, int)':
main.cpp:79:15: error: 'from' was not declared in this scope
print(from[mask][last].first, from[mask][last].second, p - 1);
^~~~
main.cpp:81:13: error: 's' was not declared in this scope
int l = s[ind[last]].size() - 1;
^
main.cpp:81:15: error: 'ind' was not declared in this scope
int l = s[ind[last]].size() - 1;
^~~
main.cpp:86:13: error: 'out' was not declared in this scope
out << s[ind[last]][i];
^~~
main.cpp:90:31: error: 'from' was not declared in this scope
for(int i = l - c[ind[from[mask][last].second]][ind[last]] + 1; i <= l; i++)
^~~~
main.cpp:91:13: error: 'out' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !