結果

問題 No.2706 One Nafmo
ユーザー ゆ
提出日時 2024-03-31 13:32:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 599 bytes
コンパイル時間 152 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 55,628 KB
最終ジャッジ日時 2024-03-31 13:32:12
合計ジャッジ時間 1,273 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
55,628 KB
testcase_01 AC 43 ms
55,628 KB
testcase_02 AC 43 ms
55,628 KB
testcase_03 AC 42 ms
55,628 KB
testcase_04 AC 43 ms
55,628 KB
testcase_05 AC 42 ms
55,628 KB
testcase_06 AC 42 ms
55,628 KB
testcase_07 AC 42 ms
55,628 KB
testcase_08 AC 42 ms
55,628 KB
testcase_09 AC 42 ms
55,628 KB
testcase_10 AC 42 ms
55,628 KB
testcase_11 AC 42 ms
55,628 KB
testcase_12 AC 42 ms
55,628 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# oj t -c "python3 main.py"
import sys,math
from collections import defaultdict,deque
from itertools import combinations,permutations,accumulate,product
from bisect import bisect,bisect_left,bisect_right
from heapq import heappop,heappush,heapify
#from sortedcontainers import SortedList,SortedSet
def input(): return sys.stdin.readline().rstrip()
def ii(): return int(input())
def ms(): return map(int, input().split())
def li(): return list(map(int,input().split()))
inf = pow(10,18)
#////////////////////////////////////
A,B,X = ms()
ans = 0
cnt = 0
while cnt<X:
  ans += B
  cnt += A
print(ans)
0