結果
問題 |
No.2706 One Nafmo
|
ユーザー |
![]() |
提出日時 | 2024-03-31 13:33:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 1,379 ms |
コンパイル使用メモリ | 166,656 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-09-30 18:03:18 |
合計ジャッジ時間 | 1,916 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 5 WA * 4 |
ソースコード
/* */ #include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for(int i = 0; i < (int)(n); i++) int main(){ int a, b, x; cin >> a >> b >> x; int t = x/a + 1; int sum = b * t; cout << sum << endl; return 0; }