Borderou de evaluare (job #2495112)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 18 noiembrie 2019 21:39:44
Problema Fibonaccibug Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:27:24: error: 'INF' was not declared in this scope pmax[i] = -INF; ^~~ main.cpp:13:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fibonaccibug.in","r",stdin); ^ main.cpp:14:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fibonaccibug.out","w",stdout); ^ main.cpp:23:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ main.cpp:30:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&s); ^ main.cpp:33:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&cost); ^ Non zero exit status: 1

Ceva nu functioneaza?