結果
| 問題 | No.1070 Missing a space |
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2021-05-23 06:55:42 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 20 ms / 1,000 ms |
| + 938µs | |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-13 23:43:45 |
| 合計ジャッジ時間 | 1,344 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
def judge(a):
res = False
if a[0] != "0":
res = True
return res
c = input()
ans = 0
for i in range(1, len(c)):
if judge(c[:i]) and judge(c[i:]):
ans += 1
print(ans)
toshiro_yanagi