結果
問題 | No.671 1000000007 |
ユーザー |
![]() |
提出日時 | 2018-07-24 00:34:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 2,000 ms |
コード長 | 193 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-01-01 17:53:18 |
合計ジャッジ時間 | 1,263 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
firstdata = input();result = 0;for inp in range(0,len(firstdata)):if firstdata[inp] == "0":result = result + 1;result = result - 8;if result < 0:result = - result;print(result);