Submission #721745

#TimeUsernameProblemLanguageResultExecution timeMemory
721745gagik_2007Boarding Passes (BOI22_passes)C++17
0 / 100
1 ms300 KiB
#include <iostream> #include <iomanip> using namespace std; int main(){ int n; cin>>n; double S=(n/2)*(n/2-1)+((n+1)/2)*((n+1)/2-1); cout<<setprecision(12)<<fixed; cout<<S/4.0<<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...