結果
問題 |
No.2706 One Nafmo
|
ユーザー |
|
提出日時 | 2024-04-06 19:00:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 1,490 ms |
コンパイル使用メモリ | 165,632 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-01 03:59:28 |
合計ジャッジ時間 | 2,291 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 5 WA * 4 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define int long long signed main() { int a,b,x; cin >> a >> b >> x; int ans = 0; while(x >= 0) { x-=a; ans+=b; } cout << ans << endl; }