結果
問題 |
No.111 あばばばば
|
ユーザー |
![]() |
提出日時 | 2019-12-28 11:02:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 314 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 15,616 KB |
最終ジャッジ日時 | 2024-10-11 13:05:20 |
合計ジャッジ時間 | 6,834 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 TLE * 1 -- * 6 |
ソースコード
L = int(input()) cur = 3 count = 0 while(cur <= L): count_a = int((L - (cur - 2)) / 2) # count_b = int(((L - 2) - (cur - 2)) / 2) count_b = count_a - 1 # print('count_a: {}'.format(count_a)) # print('count_b: {}'.format(count_b)) count += (count_a + count_b) cur += 2 print(count)