結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-19 11:17:07 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 551 bytes |
| 記録 | |
| コンパイル時間 | 484 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-04-19 11:17:22 |
| 合計ジャッジ時間 | 3,457 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 13 WA * 5 |
ソースコード
S = input()
asciicode = [ord(c) for c in S]
strlength = len(S)
count = 0
listlength = len(asciicode)
if strlength > 100:
count += 1
elif strlength < 1:
count += 1
else:
if asciicode[0] == 95 or asciicode[0] == 45:
count += 1
if asciicode[listlength - 1] == 95 or asciicode[listlength - 1] == 45:
count += 1
for i in range(listlength):
check = asciicode[i]
if check > 126:
count += 1
break
elif check < 33:
count += 1
break
if count > 0:
print(400)
else:
print(200)