Submission #25407827
Source Code Expand
x, y = map(int, input().split('.'))
if 0 <= y <= 2:
print(str(x) + '-')
elif 3 <= y <= 6:
print(x)
else:
print(str(x) + '+')
Submission Info
| Submission Time | |
|---|---|
| Task | A - Signed Difficulty |
| User | cubesat |
| Language | PyPy3 (7.3.0) |
| Score | 100 |
| Code Size | 144 Byte |
| Status | AC |
| Exec Time | 77 ms |
| Memory | 61868 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt, example1.txt, example2.txt |
| All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, example0.txt, example1.txt, example2.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 000.txt | AC | 77 ms | 61680 KiB |
| 001.txt | AC | 54 ms | 61536 KiB |
| 002.txt | AC | 55 ms | 61456 KiB |
| 003.txt | AC | 55 ms | 61780 KiB |
| 004.txt | AC | 51 ms | 61456 KiB |
| 005.txt | AC | 53 ms | 61528 KiB |
| 006.txt | AC | 54 ms | 61868 KiB |
| example0.txt | AC | 55 ms | 61756 KiB |
| example1.txt | AC | 53 ms | 61824 KiB |
| example2.txt | AC | 54 ms | 61764 KiB |