Borderou de evaluare (job #2369819)

Utilizator Vlad3108Tir Vlad Ioan Vlad3108 Data 6 martie 2019 09:23:37
Problema Tractor2 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:4: error: expected ';' before numeric constant 13 2 2 ^ main.cpp:36:130: warning: statement has no effect [-Wunused-value] dp[i][j]=min(dp[i][j],max(dp[i-4][j],1LL*Q1[i].t)+max(max(Q1[i].c,Q1[i-1].c),max(Q1[i-2].c,Q1[i-3].c))+p); ^ main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tractor2.in","r",stdin); ^ main.cpp:9:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tractor2.out","w",stdout); ^ main.cpp:11:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&n,&m,&p); ^ main.cpp:15:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&t,&d,&c); ^ Non zero exit status: 1

Ceva nu functioneaza?