Submission #1099061

#TimeUsernameProblemLanguageResultExecution timeMemory
1099061NDT134Boarding Passes (BOI22_passes)C++14
0 / 100
0 ms344 KiB
#include<iostream> using namespace std; int main() { string s; cin >> s; int n = s.size(); double r = 0; double x = n * 0.25; r += x * (x - 2); x = (n + 1) * 0.25; r += x * (x - 2); 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...