Borderou de evaluare (job #1928363)
Utilizator | Data | 16 martie 2017 09:11:14 | |
---|---|---|---|
Problema | Caps | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:5: error: expected initializer before ‘string’
string sir;
^
user.cpp:38:8: error: ‘sir’ was not declared in this scope
f>>sir;
^
user.cpp:41:12: error: ‘n’ was not declared in this scope
f>>n[i];
^
user.cpp:48:15: error: ‘n’ was not declared in this scope
while(n[i] > k) {
^
user.cpp:52:29: error: ‘n’ was not declared in this scope
for(int j = 1; j <= n[i];j++){
^
user.cpp:56:12: error: ‘n’ was not declared in this scope
g<<sir[n[i]]<<" "<<contor<<endl;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !