Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
42105 YOYOLEE-李昕颖 双面打印 C++ 通过 1 MS 240 KB 165 2024-02-24 10:18:59

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; }


测评信息: