Submission #2405976


Source Code Expand

#include <iostream>
using namespace std;
 
int main() {
	long int s, c, a;
	cin >> s >> c;
	if (s >= c / 2){
		cout << c / 2 << endl;
	}else{
		cour << ((c / 2) - s) / 2 + s << endl;
	}
	return 0;
	
}

Submission Info

Submission Time
Task C - Scc Puzzle
User SoutaTanaka
Language C++14 (GCC 5.4.1)
Score 0
Code Size 213 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:10:3: error: ‘cour’ was not declared in this scope
   cour << ((c / 2) - s) / 2 + s << endl;
   ^