Borderou de evaluare (job #2109986)
Utilizator | Data | 20 ianuarie 2018 11:55:54 | |
---|---|---|---|
Problema | Kdrum | Status | done |
Runda | evaluare_cex_sv_cls_x_2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘cin’ was not declared in this scope
cin.getline(s,256);
^
user.cpp:11:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<strlen(s)-1;++i)
^
user.cpp:12:5: error: ‘cout’ was not declared in this scope
cout << "Hello world!" << endl;
^
user.cpp:8:17: warning: unused variable ‘v’ [-Wunused-variable]
char s[256],v[]="aeiou", c[]="bcdfghjklmnpqrstvwxyz";
^
user.cpp:8:30: warning: unused variable ‘c’ [-Wunused-variable]
char s[256],v[]="aeiou", c[]="bcdfghjklmnpqrstvwxyz";
^
user.cpp:10:12: warning: unused variable ‘nr’ [-Wunused-variable]
int i, nr=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !