Borderou de evaluare (job #1567201)
Utilizator | Data | 12 ianuarie 2016 23:25:03 | |
---|---|---|---|
Problema | String | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::string toString(unsigned int)’:
user.cpp:12:2: error: ‘vector’ was not declared in this scope
vector<char> v;
^
user.cpp:12:9: error: expected primary-expression before ‘char’
vector<char> v;
^
user.cpp:12:9: error: expected ‘;’ before ‘char’
user.cpp:16:3: error: ‘v’ was not declared in this scope
v.push_back (c);
^
user.cpp:18:17: error: ‘v’ was not declared in this scope
return string (v.begin (), v.end ());
^
user.cpp: In function ‘int main()’:
user.cpp:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned i = 0; i <= n; i++)
^
user.cpp: In function ‘std::string toString(unsigned int)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !