結果
| 問題 | No.1070 Missing a space | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-10-19 10:57:18 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 28 ms / 1,000 ms | 
| コード長 | 251 bytes | 
| コンパイル時間 | 68 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-06-29 14:07:19 | 
| 合計ジャッジ時間 | 860 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
def main():
    C = input()
    ctr = 0
    for idx in range(1, len(C)):
        A = C[:idx]
        B = C[idx:]
        if A == str(int(A)) and B == str(int(B)) and int(B):
            ctr += 1
    print(ctr)
if __name__ == "__main__":
    main()
            
            
            
        