Accepted
Code
// Copyright: Mushfiq R.
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int t, n;
cin >> t;
while (t--)
{
cin >> n;
cout << ceil(float(n)/2) << endl;
}
return 0;
}
Information
- Submit By
- Type
- Pretest
- Problem
- P1041 Odd number
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-03-27 16:34:27
- Judged At
- 2024-11-11 03:38:28
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes