Borderou de evaluare (job #1301844)

Utilizator OnimushaLordTiberiu Copaciu OnimushaLord Data 26 decembrie 2014 14:02:51
Problema Gcd Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", pw(2,x)-1); ^ user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.in", "r", stdin); ^ user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.out", "w", stdout); ^ user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:38:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &MOD); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK2020
2212ms260kbOK2080
3232ms256kbOK20
4252ms252kbOK20
5264ms256kbOK20
Punctaj total100

Ceva nu functioneaza?