Borderou de evaluare (job #2310642)

Utilizator GiihuoTihufiNeacsu Stefan GiihuoTihufi Data 1 ianuarie 2019 19:23:13
Problema Suma Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:2:71: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] using namespace std;ifstream f("suma.in");ofstream g("suma.out");main(){uint64_t N,P;f>>N>>P;N%=P;g<<(N*N*N-N)/3%P;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?