Submission #552182


Source Code Expand

#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <iostream>
#include <utility>
#include <set>
#include <list>
#include <cctype>
#include <queue>
#include <stack>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <iomanip>
#include <iterator> 

#define REP(i,n) for (int i=0;i<(n);i++)

using namespace std;

int main(int argc, char const* argv[])
{
    int N;
    cin >> N;
    string s;
    if (N == 100) {
        s = "Perfect";
    } else if (N >= 90) {
        s = "Great";
    } else if (N >= 60) {
        s = "Good";
    } else {
        s = "Bad";
    }
    cout << s << endl;
    return 0;
}

Submission Info

Submission Time
Task A - テスト評価
User sz_dr
Language C++11 (GCC 4.9.2)
Score 100
Code Size 704 Byte
Status AC
Exec Time 28 ms
Memory 924 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 19
Set Name Test Cases
Sample example_0.txt, example_1.txt, example_2.txt, example_3.txt
All example_0.txt, example_1.txt, example_2.txt, example_3.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, example_0.txt, example_1.txt, example_2.txt, example_3.txt
Case Name Status Exec Time Memory
example_0.txt AC 28 ms 856 KiB
example_1.txt AC 25 ms 864 KiB
example_2.txt AC 25 ms 868 KiB
example_3.txt AC 25 ms 864 KiB
handmade_0.txt AC 27 ms 880 KiB
handmade_1.txt AC 27 ms 876 KiB
handmade_2.txt AC 27 ms 756 KiB
handmade_3.txt AC 25 ms 924 KiB
handmade_4.txt AC 27 ms 924 KiB
handmade_5.txt AC 26 ms 920 KiB
random_0.txt AC 27 ms 916 KiB
random_1.txt AC 25 ms 864 KiB
random_2.txt AC 25 ms 864 KiB
random_3.txt AC 25 ms 864 KiB
random_4.txt AC 26 ms 916 KiB