Submission #2124028
Source Code Expand
import re a,b = input().split() ans = ["No", "Yes"] print( ans[ re.match( '[0-9]{' + a + '}-[0-9]{' + b + '}' , input()) != None ])
Submission Info
Submission Time | |
---|---|
Task | A - New Year |
User | tokoharu |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 138 Byte |
Status | RE |
Exec Time | 19 ms |
Memory | 3188 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, sample_01.txt, sample_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | RE | 19 ms | 3188 KB |
02.txt | RE | 19 ms | 3188 KB |
03.txt | RE | 19 ms | 3188 KB |
04.txt | RE | 19 ms | 3188 KB |
05.txt | RE | 19 ms | 3188 KB |
06.txt | RE | 19 ms | 3188 KB |
sample_01.txt | RE | 19 ms | 3188 KB |
sample_02.txt | RE | 19 ms | 3188 KB |