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

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+1)/2; return 0; }


测评信息: