/ SeriousOJ /

Record Detail

Compile Error

foo.c:2:10: fatal error: iostream: No such file or directory
    2 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.

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
C99 (GCC 13.2.0)
Submit At
2024-03-27 16:34:21
Judged At
2024-03-27 16:34:21
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes