Submission #45493917
Source Code Expand
Copy
A = sorted(map(int, input().split()))if A[2]-A[1] == A[1]-A[0]:print("Yes")else:print("No")
A = sorted(map(int, input().split())) if A[2]-A[1] == A[1]-A[0]: print("Yes") else: print("No")
Submission Info
Submission Time | |
---|---|
Task | A - Tiny Arithmetic Sequence |
User | KoyanagiHitoshi |
Language | Python (CPython 3.11.4) |
Score | 100 |
Code Size | 104 Byte |
Status | AC |
Exec Time | 11 ms |
Memory | 8592 KB |
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 | 10 ms | 8488 KB |
001.txt | AC | 10 ms | 8456 KB |
002.txt | AC | 10 ms | 8592 KB |
003.txt | AC | 10 ms | 8556 KB |
004.txt | AC | 10 ms | 8468 KB |
005.txt | AC | 11 ms | 8452 KB |
006.txt | AC | 10 ms | 8508 KB |
example0.txt | AC | 10 ms | 8456 KB |
example1.txt | AC | 10 ms | 8556 KB |
example2.txt | AC | 10 ms | 8428 KB |