Submission #1099053

#TimeUsernameProblemLanguageResultExecution timeMemory
1099053NDT134Boarding Passes (BOI22_passes)C++14
0 / 100
0 ms348 KiB
#include<iostream> using namespace std; int main() { int n; cin >> n; string s; cin >> s; double r = 0; double x = n / 2; r += x * (x - 1); x = (n + 1)/2; r += x * (x - 1); r *= 0.25; cout << r << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...