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