Submission #814979


Source Code Expand

Copy
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main() {
    int a, b, c;
    cin >> a >> b >> c;
    if ((a == 7 && b == 5 && c == 5)||(a == 5 && b == 7 && c == 5)||(a == 5 && b == 5 && c == 7)) cout << "YES" << endl;
    else cout << "NO" << endl;
    return 0;
}

Submission Info

Submission Time
Task A - Iroha and Haiku (ABC Edition)
User tom_mol
Language C++14 (GCC 5.4.1)
Score 100
Code Size 350 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