제출 #721745

#제출 시각아이디문제언어결과실행 시간메모리
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...