/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 440.0 KiB

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-03-27 16:34:27
Judged By
Score
10
Total Time
1ms
Peak Memory
440.0 KiB