Borderou de evaluare (job #24274)

Utilizator avatar hcn1 Cretescu Horia hcn1 IP ascuns
Problemă Url Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 15 oct. 2013 23:51:06 Scor 0

Raport evaluator

Eroare de compilare: user.c:5:18: error: expected expression before ‘int’ user.c:7:6: error: variably modified ‘s’ at file scope user.c:9:6: error: variably modified ‘userName’ at file scope user.c:9:22: error: variably modified ‘userPassword’ at file scope user.c:10:6: error: variably modified ‘domainString’ at file scope user.c:10:6: error: variably modified ‘domainString’ at file scope user.c:11:6: error: variably modified ‘port’ at file scope user.c:12:6: error: variably modified ‘path’ at file scope user.c:22:1: error: unknown type name ‘bool’ user.c:26:1: error: unknown type name ‘bool’ user.c: In function ‘getNumber’: user.c:32:2: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:32:2: note: use option -std=c99 or -std=gnu99 to compile your code user.c: In function ‘solve’: user.c:49:2: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:55:2: error: unknown type name ‘bool’ user.c:55:17: error: ‘false’ undeclared (first use in this function) user.c:55:17: note: each undeclared identifier is reported only once for each function it appears in user.c:58:13: error: ‘true’ undeclared (first use in this function) user.c:63:2: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:70:2: error: unknown type name ‘bool’ user.c:76:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:109:10: error: redefinition of ‘i’ user.c:63:10: note: previous definition of ‘i’ was here user.c:109:2: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:156:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:166:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:189:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:194:23: warning: assignment makes integer from pointer without a cast [enabled by default] user.c:203:10: error: redefinition of ‘i’ user.c:109:10: note: previous definition of ‘i’ was here user.c:203:2: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c: In function ‘main’: user.c:215:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] user.c:216:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] user.c:217:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:218:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]