#2327641

Solution for 0123: Speed Skating Badge Test by peroon

Source Code Status Test Cases
    Policy: public     Reviewed: 5    
00.02 sec    7460 KB    26 lines     479 bytes    2017-05-20 05:33
# -*- coding: utf-8 -*-

import sys
import os
import math

for s in sys.stdin:
    a, b = map(float, s.split())

    if a < 35.5 and b < 71:
        print('AAA')
    elif a < 37.5 and b < 77:
        print('AA')
    elif a < 40 and b < 83:
        print('A')
    elif a < 43 and b < 89:
        print('B')
    elif a < 50 and b < 105:
        print('C')
    elif a < 55 and b < 116:
        print('D')
    elif a < 70 and b < 148:
        print('E')
    else:
        print('NA')

Compile Error Logs:
You are not authorized to see the message.

Status
Judge: 1/1 Python3 CPU: 00.02 sec Memory: 7460 KB Length: 479 B 2017-05-20 05:33 2017-05-20 05:33
Results for testcases
Case # Verdict CPU Time Memory In Out Case Name
Case #1: : Accepted 00.02 sec 7460 KB
< prev | / | next >  
 
Judge Input #  ( | ) Judge Output #  ( | )


Comments
 
 Under Construction.
 
Categories
 
 
Free Tags