結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-17 20:22:51 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 257 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2026-04-17 20:22:55 |
| 合計ジャッジ時間 | 2,200 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
s=input()
ans=200
if not 1<=len(s)<=32:
ans=400
for c in s:
if not('A'<=c<='Z'or'a'<=c<='z'or'0'<=c<='9'or c in'_-'):
ans=400
if s[0]in'_-'or s[-1]in'_-':
ans=400
print(ans)