Borderou de evaluare (job #2111257)
Utilizator | Data | 21 ianuarie 2018 19:18:29 | |
---|---|---|---|
Problema | Dinozaur | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected initializer before ‘unsigned’
unsigned short i,ln;
^
user.cpp: In function ‘int main()’:
user.cpp:13:5: error: ‘ln’ was not declared in this scope
ln=s.size();
^
user.cpp:14:10: error: ‘i’ was not declared in this scope
for (i=0;i<ln;i++)
^
user.cpp:16:13: error: ‘A’ was not declared in this scope
if (A[int(s[i])-97]==1)
^
user.cpp:21:9: error: ‘A’ was not declared in this scope
A[int(s[i])-97]=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !