Borderou de evaluare (job #1205193)
Utilizator | Data | 5 iulie 2014 17:23:20 | |
---|---|---|---|
Problema | Petrecere2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Parse()’:
user.cpp:21:15: error: ‘j’ was not declared in this scope
while(Str[j]!='\n')
^
user.cpp:24:13: error: ‘value’ was not declared in this scope
value=value*10+Str[j]-'0';
^
user.cpp:27:31: error: ‘value’ was not declared in this scope
Value[++Value[0]]=value;
^
user.cpp:32:23: error: ‘value’ was not declared in this scope
Value[++Value[0]]=value;
^
user.cpp:34:7: error: ‘j’ was not declared in this scope
++j;
^
user.cpp: In function ‘void Read()’:
user.cpp:43:13: warning: unused variable ‘x’ [-Wunused-variable]
int x,y;
^
user.cpp:43:15: warning: unused variable ‘y’ [-Wunused-variable]
int x,y;
^
user.cpp:44:14: warning: unused variable ‘cost’ [-Wunused-variable]
bool cost;
^
user.cpp:39:9: warning: unused variable ‘value’ [-Wunused-variable]
int value=0,j=0;
^
user.cpp:39:17: warning: unused variable ‘j’ [-Wunused-variable]
int value=0,j=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !