結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2026-04-27 04:13:41 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 438 bytes |
| 記録 | |
| コンパイル時間 | 803 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-04-27 04:13:53 |
| 合計ジャッジ時間 | 3,967 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 3 |
ソースコード
import sys
input = sys.stdin.readline
S=input().strip()
if S[0]=="_" or S[0]=="-" or S[-1]=="_" or S[-1]=="-":
print(400)
else:
flag=1
for s in S:
if 65<=ord(s)<=90:
continue
if 97<=ord(s)<=122:
continue
if 48<=ord(s)<=57:
continue
if s=="_" or s=="-":
continue
flag=0
if flag==1:
print(200)
else:
print(400)
titia