結果

問題 No.3497 Sign up for traP
コンテスト
ユーザー tassei903
提出日時 2026-04-17 22:15:43
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 36 ms / 2,000 ms
+ 966µs
コード長 654 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 92 ms
コンパイル使用メモリ 64,632 KB
実行使用メモリ 53,732 KB
最終ジャッジ日時 2026-10-15 08:00:44
合計ジャッジ時間 2,418 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import sys
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#####################################################################

s = input()

def f(x):
    if 0 <= ord(x) - 97 < 26:
        return True
    if 0 <= ord(x) - 65 < 26:
        return True
    if x.isdigit():
        return True
    if x in "-_":
        return True
    return False

if all(f(x) for x in s) and (s[0] not in  "_-") and (s[-1] not in "-_") and len(s) <= 32:
    print(200)
else:
    print(400)
0