Borderou de evaluare (job #2200846)
Utilizator | Data | 2 mai 2018 20:01:00 | |
---|---|---|---|
Problema | Domino | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void euler(std::pair<int, int>)’:
user.cpp:50:17: error: request for member ‘push_back’ in ‘Sol’, which is of non-class type ‘std::vector<std::pair<int, int> > [101]’
Sol.push_back(make_pair(x.first,x.second));
^~~~~~~~~
user.cpp: In function ‘void solve()’:
user.cpp:56:16: error: request for member ‘empty’ in ‘Sol’, which is of non-class type ‘std::vector<std::pair<int, int> > [101]’
while(!Sol.empty())
^~~~~
user.cpp:58:19: error: request for member ‘top’ in ‘Sol’, which is of non-class type ‘std::vector<std::pair<int, int> > [101]’
int k=Sol.top();
^~~
user.cpp:59:17: error: request for member ‘first’ in ‘k’, which is of non-class type ‘int’
fout<<k.first<<" "<<k.second<<" ";
^~~~~
user.cpp:59:31: error: request for member ‘second’ in ‘k’, which is of non-class type ‘int’
fout<<k.first<<" "<<k.second<<" ";
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:65:7: error: expected ‘;’ before ‘:’ token
fin>>N:
^
user.cpp:66:25: error: ‘i’ was not declared in this scope
for(int i = 0 ; i < N; i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !