Submission #1715412


Source Code Expand

Copy
# -*- coding: utf-8 -*-
import math
import sys
import itertools
import numpy as np
import functools
import collections
mo = 1000000007
INF = 10**100
r = range

class infix(object):
    def __init__(self, function):
        self.function = function

    def __ror__(self, other):
        self.left = other
        return self

    def __or__(self, other):
        return self.function(self.left, other)

    def __call__(self, value1, value2):
        return self.function(value1, value2)

@infix
def c(f_t_u, f_u_r): return lambda t: f_u_r(f_t_u(t))

class _Ap(object):
    def __rlshift__(self, other):
        self.value = other
        return self

    def __rshift__(self, other):
        return other(self.value)
Ap = _Ap()
ap = Ap

#d = {1:2, 3:5, 6:10, 1000043:3814}
#zip(d.keys(), d.values())<<ap>>(list |c| sorted |c| reversed |c| list |c| print)


x = [0]*3
x[0], x[1], x[2] = map(int,input().split())
x.sort()
if x[0]==5 and x[1] == 5 and x[2] == 7:
    print("YES");
else:
    print("NO");

Submission Info

Submission Time
Task A - Iroha and Haiku (ABC Edition)
User hamko
Language Python (3.4.3)
Score 100
Code Size 1051 Byte
Status AC
Exec Time 347 ms
Memory 21504 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 347 ms 21504 KB
subtask0_sample_02.txt AC 151 ms 12516 KB
subtask1_X_575.txt AC 152 ms 12476 KB
subtask1_X_577.txt AC 151 ms 12504 KB
subtask1_X_755.txt AC 151 ms 12476 KB