Submission #61143099
Source Code Expand
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include "bits/stdc++.h"
#ifdef AlRntn
#include "debug.hpp"
#else
#define debug(...) void(0)
#define tstr(...) void(0)
#endif
using int64 = int64_t;
using uint64 = uint64_t;
using ll = int64_t;
using ull = uint64_t;
using ld = long double;
#define fi first
#define se second
#define sz(x) int64_t(x.size())
#define all(x) x.begin(), x.end()
#define spc ' '
#define endl '\n'
#define pb push_back
#define mp make_pair
#define ever ;1;
constexpr int64_t inf = 5e18 + 100;
constexpr int64_t mod1 = 1e9+7;
constexpr int64_t mod2 = 998244353;
constexpr int64_t mod3 = 1e9+9;
constexpr int64_t mod4 = (1ll<<31) - 1;
constexpr long double PI = 2*asinl(1.0);
int dx[4] = {0 , 1 , 0 , -1}; // clockwise from north
int dy[4] = {-1 , 0 , 1 , 0};
int dx2[8] = {0 , 1 , 1 , 1 , 0 , -1 , -1 , -1}; // clockwise from north
int dy2[8] = {-1 , -1 , 0 , 1 , 1 , 1 , 0 , -1};
const int N = 1e6 + 50, L = 25;
ll a ,b, c, d;
int32_t main(){
#ifdef AlRntn
freopen("inputf.in" , "r" , stdin); freopen("outputf.out" , "w" , stdout); freopen("errorf.out" , "w" , stderr);
#endif
using namespace std;
ios_base::sync_with_stdio(false), cin.tie(nullptr);
int32_t tc=1;
//#define TestCases
#ifdef TestCases
std::cin >> tc;
#endif
while(tc--){
cin>>a>>b>>c>>d;
std::set<ll> C;
C.insert(a);
C.insert(b);
C.insert(c);
C.insert(d);
if(sz(C) == 2) cout << "Yes\n";
else cout << "No\n";
}
return 0;
}
Submission Info
Submission Time |
|
Task |
A - Full House 2 |
User |
AIRntn |
Language |
C++ 20 (gcc 12.2) |
Score |
100 |
Code Size |
1513 Byte |
Status |
AC |
Exec Time |
2 ms |
Memory |
3520 KB |
Judge Result
Set Name |
Sample |
All |
Score / Max Score |
0 / 0 |
100 / 100 |
Status |
|
|
Set Name |
Test Cases |
Sample |
sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt, sample_05.txt |
All |
sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt, sample_05.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt |
Case Name |
Status |
Exec Time |
Memory |
sample_01.txt |
AC |
1 ms |
3388 KB |
sample_02.txt |
AC |
1 ms |
3340 KB |
sample_03.txt |
AC |
1 ms |
3432 KB |
sample_04.txt |
AC |
1 ms |
3460 KB |
sample_05.txt |
AC |
1 ms |
3416 KB |
test_01.txt |
AC |
1 ms |
3392 KB |
test_02.txt |
AC |
1 ms |
3464 KB |
test_03.txt |
AC |
1 ms |
3316 KB |
test_04.txt |
AC |
1 ms |
3468 KB |
test_05.txt |
AC |
1 ms |
3476 KB |
test_06.txt |
AC |
1 ms |
3460 KB |
test_07.txt |
AC |
1 ms |
3312 KB |
test_08.txt |
AC |
1 ms |
3412 KB |
test_09.txt |
AC |
1 ms |
3516 KB |
test_10.txt |
AC |
1 ms |
3476 KB |
test_11.txt |
AC |
1 ms |
3464 KB |
test_12.txt |
AC |
1 ms |
3516 KB |
test_13.txt |
AC |
1 ms |
3444 KB |
test_14.txt |
AC |
2 ms |
3456 KB |
test_15.txt |
AC |
1 ms |
3520 KB |
test_16.txt |
AC |
2 ms |
3468 KB |
test_17.txt |
AC |
1 ms |
3428 KB |
test_18.txt |
AC |
1 ms |
3512 KB |
test_19.txt |
AC |
1 ms |
3460 KB |
test_20.txt |
AC |
1 ms |
3452 KB |