Submission #18773320
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll L; cin >> L;
ll ans = 1;
for (ll i = 1; i < 12; i++) {
ans *= (L - i);
ans /= i;
}
cout << ans << '\n';
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | C - Duodecim Ferra |
| User | nakaken88 |
| Language | C++ (GCC 9.2.1) |
| Score | 300 |
| Code Size | 284 Byte |
| Status | AC |
| Exec Time | 8 ms |
| Memory | 3612 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 300 / 300 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | handmade_00.txt, handmade_01.txt, handmade_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| handmade_00.txt | AC | 8 ms | 3500 KiB |
| handmade_01.txt | AC | 2 ms | 3532 KiB |
| handmade_02.txt | AC | 4 ms | 3588 KiB |
| random_00.txt | AC | 2 ms | 3612 KiB |
| random_01.txt | AC | 2 ms | 3548 KiB |
| random_02.txt | AC | 2 ms | 3608 KiB |
| random_03.txt | AC | 2 ms | 3480 KiB |
| random_04.txt | AC | 2 ms | 3484 KiB |
| random_05.txt | AC | 2 ms | 3588 KiB |
| random_06.txt | AC | 4 ms | 3528 KiB |
| random_07.txt | AC | 2 ms | 3548 KiB |
| random_08.txt | AC | 3 ms | 3552 KiB |
| random_09.txt | AC | 2 ms | 3552 KiB |
| sample_01.txt | AC | 4 ms | 3500 KiB |
| sample_02.txt | AC | 2 ms | 3612 KiB |
| sample_03.txt | AC | 3 ms | 3528 KiB |