Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
55523 | zhangweiran | 双面打印 | C++ | Accepted | 0 MS | 244 KB | 154 | 2024-11-08 07:08:13 |
#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; }