Submission #75225835


Source Code Expand

#include <bits/stdc++.h>
#include <atcoder/all>

#define LF putchar('\n')

typedef unsigned long long ULLONG;
typedef long long LLONG;
static const LLONG MOD_NUM = 998244353LL; //1000000007LL;
static const LLONG INF_NUM = 1e18;
static const int CH_KIND = 'z' - 'a' + 1;
template<class _T> static void get(_T& a) {
	std::cin >> a;
}
template<class _T> static void get(_T& a, _T& b) {
	std::cin >> a >> b;
}
template<class _T> static void get(_T& a, _T& b, _T& c) {
	std::cin >> a >> b >> c;
}
template <class _T> static _T tp_abs(_T a) {
	if (a < (_T)0) {
		a *= (_T)-1;
	}
	return a;
}
template <class _T> static _T tp_pow(int x, int exp)
{
	_T ans = 1;
	_T base = x;
	while (exp > 0) {
		if (exp & 1) {
			ans = (ans * base);
		}
		base = (base * base);
		exp >>= 1;
	}
	return ans;
}

static void task();

int main()
{
	task();
	fflush(stdout);
	return 0;
}

static void task()
{
    int A, B, C;
    get(A, B, C);

    if (A != B && B == C) {
        printf("Yes\n");
    }
    else printf("No\n");
}

Submission Info

Submission Time
Task A - 455
User takumat
Language C++23 (GCC 15.2.0)
Score 100
Code Size 1066 Byte
Status AC
Exec Time 1 ms
Memory 3644 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 12
Set Name Test Cases
Sample sample00.txt, sample01.txt, sample02.txt
All sample00.txt, sample01.txt, sample02.txt, testcase00.txt, testcase01.txt, testcase02.txt, testcase03.txt, testcase04.txt, testcase05.txt, testcase06.txt, testcase07.txt, testcase08.txt
Case Name Status Exec Time Memory
sample00.txt AC 1 ms 3608 KiB
sample01.txt AC 1 ms 3644 KiB
sample02.txt AC 1 ms 3500 KiB
testcase00.txt AC 1 ms 3520 KiB
testcase01.txt AC 1 ms 3396 KiB
testcase02.txt AC 1 ms 3540 KiB
testcase03.txt AC 1 ms 3644 KiB
testcase04.txt AC 1 ms 3644 KiB
testcase05.txt AC 1 ms 3544 KiB
testcase06.txt AC 1 ms 3500 KiB
testcase07.txt AC 1 ms 3356 KiB
testcase08.txt AC 1 ms 3632 KiB