Borderou de evaluare (job #2726059)

Utilizator raducostacheRadu Costache raducostache Data 20 martie 2021 10:29:53
Problema Urat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 26

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:85: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g, "%d\n", (((2LL * fact[n / 2 - 1]) % MOD) * fact[n / 2 - 1]) % MOD); ^ main.cpp:25:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g, "%d\n", (((4LL * fact[n / 2]) % MOD) * fact[n / 2 - 1]) % MOD); ^ main.cpp:15:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbValoare incorecta cerinta 3!8
22ms131kbValoare incorecta cerinta 3!8
32ms131kbValoare incorecta cerinta 3!8
413ms405kbValoare corecta cerinta 1!2
517ms524kbTry again !0
632ms917kbTry again !0
765ms1835kbTry again !0
8119ms2674kbTry again !0
9126ms3670kbTry again !0
10157ms4456kbTry again !0
Punctaj total26

Ceva nu functioneaza?