結果
| 問題 | No.35 タイパー高橋 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-14 17:34:40 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 309 bytes |
| 記録 | |
| コンパイル時間 | 654 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,428 KB |
| 最終ジャッジ日時 | 2026-03-17 03:59:47 |
| 合計ジャッジ時間 | 1,726 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
N = int(input())
OKcount = 0
NGcount = 0
for i in range(N):
t,s= input().split()
t = int(t)
s = str(s)
can_write = int(t * 12 / 1000)
if can_write < len(s):
NGcount += len(s) - can_write
OKcount += can_write
else:
OKcount += len(s)
print (OKcount,NGcount)