Borderou de evaluare (job #1971833)

Utilizator rares_ciocieaRares Andrei Ciociea rares_ciociea Data 21 aprilie 2017 09:01:32
Problema Findmin Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:2:1: error: unknown type name ‘using’ using namespace std; ^ user.c:2:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘main’: user.c:31:5: error: unknown type name ‘bool’ bool t=false; ^ user.c:31:12: error: ‘false’ undeclared (first use in this function) bool t=false; ^ user.c:31:12: note: each undeclared identifier is reported only once for each function it appears in user.c:48:19: error: ‘true’ undeclared (first use in this function) t=true; ^ user.c:29:13: warning: unused variable ‘j’ [-Wunused-variable] int n,i,j,x; ^ user.c:32:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("findmin.in","r",stdin); ^ user.c:33:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("findmin.out","w",stdout); ^ user.c:34:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&v[1]); ^ user.c:41:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^

Ceva nu functioneaza?