Borderou de evaluare (job #2327209)
Utilizator | Luciu Gabriel gabiluciu | Data | 24 ianuarie 2019 15:07:09 |
---|---|---|---|
Problema | Suma | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 100 |
Raport evaluator
Compilare:
main.cpp:2:61: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
std::ifstream f("suma.in");std::ofstream g("suma.out");main(){size_t N,P;f>>N>>P;N%=P;g<<(N*N*N-N)/3%P;}
^
Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !