- 【例17.1】 双面打印
- 1
- @ 2024-3-23 12:10:52
#include<iostream> #include<cstdio> #include<limits.h> using namespace std; int n; int main(){ cin>>n; if(n%2==1){ cout<<n/2+1; } else{ cout<<n/2; } return 0; }
1 comments
- 
  zhengzijie LV 4 @ 2024-3-23 12:11:01#include<iostream> #include<cstdio> #include<limits.h> using namespace std; int n; int main(){ cin>>n; if(n%2==1){ cout<<n/2+1; } else{ cout<<n/2; } return 0; } 
- 1
Information
- ID
- 473
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 3
- Tags
- # Submissions
- 181
- Accepted
- 96
- Uploaded By