Borderou de evaluare (job #2024731)
Utilizator | Data | 21 septembrie 2017 08:20:40 | |
---|---|---|---|
Problema | Expresie2 | 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:12:12: error: ‘sir’ was not declared in this scope
fin >> sir+1;
^
user.cpp:13:5: error: ‘n’ was not declared in this scope
n=strlen(sir+1);
^
user.cpp:13:19: error: ‘strlen’ was not declared in this scope
n=strlen(sir+1);
^
user.cpp:15:5: error: ‘i’ was not declared in this scope
i=sgn=1;
^
user.cpp:15:7: error: ‘sgn’ was not declared in this scope
i=sgn=1;
^
user.cpp:18:9: error: ‘car’ was not declared in this scope
car=sir[i];
^
user.cpp:26:13: error: ‘nr’ was not declared in this scope
nr=0;
^
user.cpp:33:13: error: ‘stnr’ was not declared in this scope
stnr[++hnr]=nr*sgn;
^
user.cpp:33:20: error: ‘hnr’ was not declared in this scope
stnr[++hnr]=nr*sgn;
^
user.cpp:40:13: error: ‘sem’ was not declared in this scope
sem=stsem[hsem];
^
user.cpp:40:17: error: ‘stsem’ was not declared in this scope
sem=stsem[hsem];
^
user.cpp:40:23: error: ‘hsem’ was not declared in this scope
sem=stsem[hsem];
^
user.cpp:44:17: error: ‘nr’ was not declared in this scope
nr=stnr[hnr];
^
user.cpp:44:20: error: ‘stnr’ was not declared in this scope
nr=stnr[hnr];
^
user.cpp:44:25: error: ‘hnr’ was not declared in this scope
nr=stnr[hnr];
^
user.cpp:46:31: error: expected primary-expression before ‘)’ token
if (nr<0) if ()
^
user.cpp:48:17: error: ‘sum’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !