Borderou de evaluare (job #1750558)

Utilizator ASTELOTudor Enescu ASTELO Data 30 august 2016 14:49:37
Problema Proc 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:26:9: error: ‘o’ was not declared in this scope o=mid; ^ user.cpp:30:13: error: ‘o’ was not declared in this scope printf("%d",o); ^ user.cpp:5:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("proc.in","r",stdin); ^ user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("proc.out","w",stdout); ^ user.cpp:7:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&p); ^

Ceva nu functioneaza?