Submission #155089


Source Code Expand

#include <iostream>
#include <algorithm>
#include <vector>

#define max(x, y)	(((x) > (y))? (x) : (y))
#define abs(x)		(((x) < 0)? (-1*(x)) : (x))

using namespace std;

int main() {
	int n;

	cin >> n;

	cout << (n % 3)? "NO" : "YES" << endl;

	return 0;
}

Submission Info

Submission Time
Task A - 世界のFizzBuzz
User ericode
Language C++ (G++ 4.6.4)
Score 0
Code Size 276 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:15:35: error: invalid operands of types ‘const char [4]’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’