Submission #2126224


Source Code Expand

#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define INF (1<<30)
#define INFLL (1ll<<60)
typedef pair<int, int> P;
typedef pair<ll, P> E;
#define cost first
#define from second.first
#define to second.second
#define MOD (1000000007ll)
#define l_ength size

void mul_mod(ll& a, ll b){
	a *= b;
	a %= MOD;
}

int main(void){
	int g[13]={0,31,28,31,30,31,30,31,31,30,31,30,31},x,y;
	cin >> x >> y;
	cout << ((g[x]==g[y]):"Yes":"No") << endl;
	return 0;
}

Submission Info

Submission Time
Task A - Grouping
User ransewhale
Language C++14 (GCC 5.4.1)
Score 0
Code Size 497 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:22:23: error: expected ‘)’ before ‘:’ token
  cout << ((g[x]==g[y]):"Yes":"No") << endl;
                       ^