Borderou de evaluare (job #1124283)
Utilizator | Data | 26 februarie 2014 11:58:27 | |
---|---|---|---|
Problema | Text | 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:9:1: error: ‘f’ was not declared in this scope
f.get(v, 50);
^
user.cpp:10:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(v); i++){
^
user.cpp:16:56: error: ‘g’ was not declared in this scope
if(strchr(separator, v[0]) && strchr(separator, v[q])) g<<p/(c-1)<<endl;
^
user.cpp:17:61: error: ‘g’ was not declared in this scope
else if(strchr(separator, v[0]) || strchr(separator, v[q])) g<<p/c;
^
user.cpp:18:6: error: ‘g’ was not declared in this scope
else g<<p/(c+1);
^
user.cpp:20:1: error: ‘g’ was not declared in this scope
g.close();
^
user.cpp:7:14: warning: unused variable ‘d’ [-Wunused-variable]
int c=0, d=0, p=0, q=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !