Submission #546788

#TimeUsernameProblemLanguageResultExecution timeMemory
546788MonarchuwuDuathlon (APIO18_duathlon)C++17
0 / 100
1 ms340 KiB
#include<iostream> #include<algorithm> using namespace std; typedef long long ll; const int N = 1e5 + 9; int n; int main() { cin.tie(NULL)->sync_with_stdio(false); cin >> n; cout << (ll)n * (n - 1) * (n - 2) / 3 << '\n'; } /** /\_/\ * (= ._.) * / >0 \>1 **/
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...