Submission #815865


Source Code Expand

Copy
#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

int main()
{
  vector<int> S(3);

  cin >> S[0] >> S[1] >> S[2];

  sort(S.begin(), S.end());

  if(S[0] == 5 && S[1] == 5 && S[2] == 7) cout << "YES" << endl;
  else cout << "NO" << endl;

  return 0;
}

Submission Info

Submission Time
Task A - Iroha and Haiku (ABC Edition)
User gamera416
Language C++14 (GCC 5.4.1)
Score 100
Code Size 305 Byte
Status AC
Exec Time 6 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 6 ms 256 KB
subtask1_X_755.txt AC 4 ms 256 KB