Borderou de evaluare (job #1246596)
Utilizator | Data | 21 octombrie 2014 12:48:54 | |
---|---|---|---|
Problema | Evaluarea unei expresii | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long int factor()’:
user.cpp:48:5: error: ‘llong’ was not declared in this scope
llong r=0;
^
user.cpp:48:11: error: expected ‘;’ before ‘r’
llong r=0;
^
user.cpp:51:9: error: ‘r’ was not declared in this scope
r = eval();
^
user.cpp:55:13: error: ‘r’ was not declared in this scope
r = r*10 + *p - '0';
^
user.cpp:59:12: error: ‘r’ was not declared in this scope
return r;
^
user.cpp:60:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:63:45: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, Max, fopen("evaluare.in", "r"));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !