結果
| 問題 | No.35 タイパー高橋 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-06 21:57:41 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 160 ms / 5,000 ms |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 513 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,324 KB |
| 最終ジャッジ日時 | 2026-04-28 08:50:27 |
| 合計ジャッジ時間 | 2,590 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
import math
sum,ok = 0,0
for i in range(int(input())):
lst = input().split()
sum += len(lst[1])
able = math.floor(int(lst[0])*12/1000)
if(able > len(lst[1])):
ok += len(lst[1])
else:
ok += able
print(str(ok)+' '+str(sum-ok))