Borderou de evaluare (job #1429030)

Utilizator alexandru.huleaAlexandru Hulea alexandru.hulea Data 5 mai 2015 15:38:27
Problema Por Costel si Azerah Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:62: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i\n", (power(2, impar + par - 1) + MOD - 1) % MOD); ^ user.cpp:46:50: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i\n", (power(2, par) + MOD - 1) % MOD); ^ user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.in", "r", stdin); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.out", "w", stdout); ^ user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &t); ^ user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", v + j); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1244ms812kbOK100
Punctaj total100

Ceva nu functioneaza?