Borderou de evaluare (job #1167446)

Utilizator gabriel.badeaGabriel Badea gabriel.badea Data 5 aprilie 2014 00:32:34
Problema Suma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n", (((N%mod) * ((N + 1)%mod) * ((N - 1)%mod)/3)) % mod); ^ user.cpp:16:98: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n", (((N%mod) * ((N - 1)%mod) * ((N - 2)%mod)/ 3 + (N%mod) * ((N%mod) - 1))) % mod); ^ user.cpp:5:12: warning: unused variable ‘s’ [-Wunused-variable] long long s = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbIncorect0
20ms232kbIncorect0
30ms236kbIncorect0
40ms232kbIncorect0
50ms232kbIncorect0
60ms236kbIncorect0
70ms236kbIncorect0
80ms232kbIncorect0
90ms232kbIncorect0
100ms232kbIncorect0
Punctaj total0

Ceva nu functioneaza?