Submission #338370

#TimeUsernameProblemLanguageResultExecution timeMemory
338370boykutChessboard (IZhO18_chessboard)C++14
0 / 100
1 ms364 KiB
#include <bits/stdc++.h> using namespace std; signed main() { ios::sync_with_stdio(0); cin.tie(0); int n, k; cin >> n >> k; if (n <= 100 && k == 0) { n % 2 == 0 ? cout << n / 2 * n: cout << (n / 2) * (n / 2 + 1)*2; } return 0; }
#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...