Submission #63946455


Source Code Expand

Copy
"""
<>
- `float`
"""
#
X = float(input())
if(38.0<=X):
print(1)
if(37.5<=X<38.0):
print(2)
if(X<37.5):
print(3)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
"""
<方針>
- `float` で受け取る。
"""
# 入力
X = float(input())

if(38.0<=X):
  print(1)
if(37.5<=X<38.0):
  print(2)
if(X<37.5):
  print(3)

Submission Info

Submission Time
Task A - Thermometer
User mattsunkun
Language Python (PyPy 3.10-v7.3.12)
Score 100
Code Size 162 Byte
Status AC
Exec Time 58 ms
Memory 76752 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 30
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt, 01_test_15.txt, 01_test_16.txt, 01_test_17.txt, 01_test_18.txt, 01_test_19.txt, 01_test_20.txt, 01_test_21.txt, 01_test_22.txt, 01_test_23.txt, 01_test_24.txt, 01_test_25.txt, 01_test_26.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 57 ms 76364 KB
00_sample_01.txt AC 57 ms 76540 KB
00_sample_02.txt AC 57 ms 76480 KB
01_test_00.txt AC 57 ms 76680 KB
01_test_01.txt AC 57 ms 76676 KB
01_test_02.txt AC 57 ms 76352 KB
01_test_03.txt AC 58 ms 76464 KB
01_test_04.txt AC 58 ms 76596 KB
01_test_05.txt AC 57 ms 76628 KB
01_test_06.txt AC 57 ms 76584 KB
01_test_07.txt AC 57 ms 76448 KB
01_test_08.txt AC 56 ms 76732 KB
01_test_09.txt AC 57 ms 76476 KB
01_test_10.txt AC 57 ms 76596 KB
01_test_11.txt AC 57 ms 76752 KB
01_test_12.txt AC 57 ms 76332 KB
01_test_13.txt AC 57 ms 76504 KB
01_test_14.txt AC 57 ms 76452 KB
01_test_15.txt AC 56 ms 76300 KB
01_test_16.txt AC 57 ms 76716 KB
01_test_17.txt AC 57 ms 76384 KB
01_test_18.txt AC 57 ms 76464 KB
01_test_19.txt AC 58 ms 76632 KB
01_test_20.txt AC 57 ms 76476 KB
01_test_21.txt AC 57 ms 76512 KB
01_test_22.txt AC 57 ms 76660 KB
01_test_23.txt AC 57 ms 76620 KB
01_test_24.txt AC 57 ms 76676 KB
01_test_25.txt AC 56 ms 76316 KB
01_test_26.txt AC 57 ms 76712 KB


2025-04-02 (Wed)
19:58:32 +00:00