Borderou de evaluare (job #617586)

Utilizator mihaibogdan10Mihai Bogdan mihaibogdan10 Data 15 octombrie 2011 02:31:42
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:2:16: error: cmath: No such file or directory user.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’ user.c:11: error: expected specifier-qualifier-list before ‘bool’ user.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘puncte’ user.c: In function ‘Citire’: user.c:26: error: ‘puncte’ undeclared (first use in this function) user.c:26: error: (Each undeclared identifier is reported only once user.c:26: error: for each function it appears in.) user.c:27: error: ‘false’ undeclared (first use in this function) user.c:19: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result user.c:20: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c: At top level: user.c:31: warning: type defaults to ‘int’ in declaration of ‘punct’ user.c:31: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token user.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PunctUrmator’ user.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PunctInitial’ user.c: In function ‘main’: user.c:85: error: ‘punct’ undeclared (first use in this function) user.c:85: error: expected ‘;’ before ‘punctInitial’ user.c:86: error: ‘P’ undeclared (first use in this function) user.c:86: error: ‘punctInitial’ undeclared (first use in this function) user.c:88: error: ‘sol’ undeclared (first use in this function) user.c:89: error: expected ‘;’ before ‘punctMobil’ user.c:90: error: ‘punctMobil’ undeclared (first use in this function) user.c:95: warning: implicit declaration of function ‘PunctUrmator’ user.c:103: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:103: note: use option -std=c99 or -std=gnu99 to compile your code user.c:101: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result

Ceva nu functioneaza?