結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-14 11:24:58 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 60 ms / 1,500 ms |
| + 250µs | |
| コード長 | 273 bytes |
| 記録 | |
| コンパイル時間 | 250 ms |
| コンパイル使用メモリ | 95,824 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-09-03 13:48:15 |
| 合計ジャッジ時間 | 2,173 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
import sys
if sys.platform =='ios':
import clipboard
a=clipboard.get()
a = a.split('\n')
text = '\n'.join(a)
with open('input_file.txt','w') as f:
f.write(text)
sys.stdin = open('input_file.txt')
n = int(input())
ans = 0
ans += (n//3)*2
ans += (n//5)*2
print(ans)