Borderou de evaluare (job #1193025)

Utilizator webspiderDumitru Bogdan webspider Data 30 mai 2014 17:48:03
Problema Paranteze2 Status done
Runda Arhiva Monthly Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:19:1: error: initializer element is not constant seq NOSEQ = {.p=NOPARAN, .l=0}; ^ user.c:19:1: error: (near initialization for ‘NOSEQ.p’) user.c:23:6: error: variably modified ‘input’ at file scope char input[maxN]; ^ user.c:30:5: error: variably modified ‘paranQ’ at file scope int paranQ[maxN]; ^ user.c:42:5: error: variably modified ‘paranSeqQ’ at file scope seq paranSeqQ[maxN]; ^ user.c:59:1: error: unknown type name ‘bool’ bool canAppend(paran a, paran b) { return a.s == b.e + 1; } ^ user.c:60:1: error: unknown type name ‘bool’ bool canWrap(paran a, paran b) { return (a.s == b.s-1) && (a.e == b.e+1); } ^ user.c:80:1: error: unknown type name ‘bool’ bool paranSeqQ_canReduceTop() { ^ user.c:93:6: warning: conflicting types for built-in function ‘log’ [enabled by default] void log() { ^ user.c: In function ‘main’: user.c:99:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("paranteze2.in","r",stdin); ^ user.c:100:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("paranteze2.out","w",stdout); ^ user.c:101:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", input); ^

Ceva nu functioneaza?