Borderou de evaluare (job #1862278)

Utilizator mariakKapros Maria mariak Data 29 ianuarie 2017 18:30:04
Problema Urat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", (1LL * fact[k - 1] * fact[k - 1] * 2) % MOD); ^ user.cpp:27:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", (1LL * fact[k - 1] * fact[k] * 4) % MOD); ^ user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbLike a boss !10
20ms428kbLike a boss !10
30ms440kbLike a boss !10
48ms488kbLike a boss !10
512ms536kbLike a boss !10
624ms624kbLike a boss !10
752ms824kbLike a boss !10
876ms1016kbLike a boss !10
9104ms1220kbLike a boss !10
10128ms1404kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?