Pagini recente » Cod sursa (job #1262499) | Cod sursa (job #1778368) | Cod sursa (job #864359) | Atasamentele paginii Profil ciora | Borderou de evaluare (job #2246425)
Borderou de evaluare (job #2246425)
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 | 1372kb | OK | 10 |
| 2 | 0ms | 1372kb | OK | 10 |
| 3 | 0ms | 1376kb | OK | 10 |
| 4 | 0ms | 1376kb | OK | 10 |
| 5 | 0ms | 1376kb | OK | 10 |
| 6 | 0ms | 1372kb | OK | 10 |
| 7 | 0ms | 1372kb | OK | 10 |
| 8 | 0ms | 1376kb | OK | 10 |
| 9 | 0ms | 1372kb | OK | 10 |
| 10 | 0ms | 1376kb | OK | 10 |
| Punctaj total | 100 |