Borderou de evaluare (job #1995524)
Utilizator | Data | 28 iunie 2017 13:02:17 | |
---|---|---|---|
Problema | Cartele | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void rot(std::vector<std::vector<int> >&)’:
user.cpp:19:9: error: ‘i’ was not declared in this scope
for(i=1; i<=n; i++)
^
user.cpp:20:25: error: ‘j’ was not declared in this scope
for(j=1; j<=n; j++)
^
user.cpp: In function ‘bool key(std::vector<std::vector<int> >, std::vector<std::vector<int> >)’:
user.cpp:26:10: error: ‘i’ was not declared in this scope
for (i = 0; i < n; ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:45:25: error: too few arguments to function ‘bool key(std::vector<std::vector<int> >, std::vector<std::vector<int> >)’
cout << key(cart) << "\n";
^
user.cpp:25:6: note: declared here
bool key(vector < vector < int > > card, vector < vector < int > > cor) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !