Borderou de evaluare (job #1800790)

Utilizator alexsandulescuSandulescu Alexandru alexsandulescu Data 8 noiembrie 2016 08:54:34
Problema Inv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:59:1: error: expected ‘;’ before ‘{’ token { ^ user.cpp:65:1: warning: statement has no effect [-Wunused-value] } ^ user.cpp:83:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",sol%MOD); ^ user.cpp:49:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inv.in","r",stdin); ^ user.cpp:51:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inv.out","w",stdout); ^ user.cpp:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^

Ceva nu functioneaza?