Borderou de evaluare (job #2282111)
Utilizator | Data | 13 noiembrie 2018 11:10:48 | |
---|---|---|---|
Problema | Bilete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void back(int)':
main.cpp:63:4: error: 'number' was not declared in this scope
number++;
^~~~~~
main.cpp:65:5: error: 'cout' was not declared in this scope
cout << l[i] << c[i];
^~~~
main.cpp:66:4: error: 'cout' was not declared in this scope
cout << '\n';
^~~~
main.cpp:32:7: warning: unused variable 'nr1' [-Wunused-variable]
int nr1 = 0;
^~~
main.cpp:33:7: warning: unused variable 'nr2' [-Wunused-variable]
int nr2 = 0;
^~~
main.cpp:35:8: warning: unused variable 'ok1' [-Wunused-variable]
bool ok1 = 1;
^~~
main.cpp: At global scope:
main.cpp:79:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
main.cpp: In function 'int main()':
main.cpp:81:2: error: 'cin' was not declared in this scope
cin >> n >> k;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !