Borderou de evaluare (job #1738801)
Utilizator | Data | 7 august 2016 19:22:49 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void SolveSquare()’:
user.cpp:44:10: error: ‘S’ was not declared in this scope
Size++;S
^
user.cpp:45:3: error: expected ‘;’ before ‘if’
if(Stack[Depth]>Max)
^
user.cpp: In function ‘void r(int&)’:
user.cpp:17:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos==MAX)fread(f,1,MAX,stdin),pos=0;
^
user.cpp:22:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos==MAX)fread(f,1,MAX,stdin),pos=0;
^
user.cpp: In function ‘int main()’:
user.cpp:65:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.in","r",stdin);
^
user.cpp:66:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !