CSES - Datatähti 2022 alku - Results
Submission details
Task:Karkit (Candy)
Sender:EmilCoder
Submission time:2021-10-16 14:20:03
Language:C++11
Status:COMPILE ERROR

Compiler report

input/code.cpp:2:10: fatal error: math: No such file or directory
 #include <math>
          ^~~~~~
compilation terminated.

Code

#include <iostream>
#include <math>

using namespace std;

int main()
{
	char a, b, c;
	cin>>c>>a>>b;
	cout<<c % max(a,b);
	return 0;
}