Submission #817220


Source Code Expand

Copy
#include<iostream>
#include <vector>
#include <list>
#include <string>
#include <iomanip>
#include <algorithm>
#include <functional>
#include <climits>
#include <map>
#include <math.h>

using namespace std;

int main(){
	int a, b, c;
	cin >> a >> b >> c;

	int r[7] = { 0 };

	r[a - 1]++;
	r[b - 1]++;
	r[c - 1]++;


	if (r[6]==1 && r[4]==2){ cout << "YES" << endl; }
	else{ cout << "NO" << endl; }
	return 0;
}

Submission Info

Submission Time
Task A - Iroha and Haiku (ABC Edition)
User NNN
Language C++14 (GCC 5.4.1)
Score 100
Code Size 438 Byte
Status AC
Exec Time 4 ms
Memory 256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 5
Set Name Test Cases
Sample subtask0_sample_01.txt, subtask0_sample_02.txt
All subtask0_sample_01.txt, subtask0_sample_02.txt, subtask1_X_575.txt, subtask1_X_577.txt, subtask1_X_755.txt
Case Name Status Exec Time Memory
subtask0_sample_01.txt AC 4 ms 256 KB
subtask0_sample_02.txt AC 4 ms 256 KB
subtask1_X_575.txt AC 4 ms 256 KB
subtask1_X_577.txt AC 4 ms 256 KB
subtask1_X_755.txt AC 4 ms 256 KB