Borderou de evaluare (job #1167439)

Utilizator gabriel.badeaGabriel Badea gabriel.badea Data 5 aprilie 2014 00:24:59
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:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n", N * (N + 1) * (N - 1)/3); ^ user.cpp:16:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n", N * (N - 1) * (N - 2)/ 3 + N * (N - 1)); ^ user.cpp:5:12: warning: unused variable ‘s’ [-Wunused-variable] long long s = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbIncorect0
20ms236kbIncorect0
30ms232kbIncorect0
40ms232kbIncorect0
50ms232kbIncorect0
60ms232kbIncorect0
70ms232kbIncorect0
80ms232kbIncorect0
90ms236kbIncorect0
100ms232kbIncorect0
Punctaj total0

Ceva nu functioneaza?