Borderou de evaluare (job #2246422)
| Utilizator | Data | 27 septembrie 2018 08:55:07 | |
|---|---|---|---|
| Problema | Inel | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp:2:54: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
int n,a[]={0,1,2,2,4,96,1024,2880,81024,770144};main() {std::ifstream("inel.in")>>n;std::ofstream("inel.out")<<a[n/2]*!(n%2);}
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 1376kb | OK | 10 |
| 2 | 0ms | 1372kb | OK | 10 |
| 3 | 0ms | 1372kb | OK | 10 |
| 4 | 0ms | 1376kb | OK | 10 |
| 5 | 0ms | 1376kb | OK | 10 |
| 6 | 0ms | 1376kb | OK | 10 |
| 7 | 0ms | 1376kb | OK | 10 |
| 8 | 0ms | 1372kb | OK | 10 |
| 9 | 0ms | 1376kb | OK | 10 |
| 10 | 0ms | 1376kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
