Submission #2240233


Source Code Expand

import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s=arr_data[0][0]


arr=[]


for v in s:
    
    arr.append(v)
    
    
arr02=sorted(arr)

#print(arr02)


chkflg=True


for i in range(0,len(arr02)-1):
    
#    print(arr02[i])
    
    if arr02[i]==arr02[i+1]:
        
        chkflg=False
        
        break
        
if chkflg:
    
    print("yes")
    
else:
    
    print("no")

Submission Info

Submission Time
Task B - Varied
User senshi2000
Language Python (3.4.3)
Score 200
Code Size 923 Byte
Status AC
Exec Time 18 ms
Memory 3064 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 13
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 AC 17 ms 3064 KB
a02 AC 17 ms 3064 KB
a03 AC 17 ms 3064 KB
b04 AC 17 ms 3064 KB
b05 AC 18 ms 3064 KB
b06 AC 17 ms 3064 KB
b07 AC 17 ms 3064 KB
b08 AC 17 ms 3064 KB
b09 AC 17 ms 3064 KB
b10 AC 17 ms 3064 KB
b11 AC 17 ms 3064 KB
b12 AC 17 ms 3064 KB
b13 AC 17 ms 3064 KB