Borderou de evaluare (job #1440391)

Utilizator valen.valentinValentin Valeanu valen.valentin Data 23 mai 2015 12:33:26
Problema Chomp Status done
Runda ACM-ICPC Faza Nationala 2015-2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:22: error: expected ‘)’ before ‘;’ token #define mod 334214459; ^ user.cpp:23:25: note: in expansion of macro ‘mod’ printf("%lld\n",sol%mod); ^ user.cpp:23:28: error: expected primary-expression before ‘)’ token printf("%lld\n",sol%mod); ^ user.cpp:23:28: error: expected ‘;’ before ‘)’ token user.cpp:16:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chomp.in","r",stdin); ^ user.cpp:17:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chomp.out","w",stdout); ^ user.cpp:18:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); sol=1; ^

Ceva nu functioneaza?