Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
42043 Xiyou 双面打印 C++ 通过 0 MS 244 KB 161 2024-02-24 09:29:44

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%2==0){ cout<<n/2; }else{ cout<<n/2+1; } return 0; }


测评信息: