結果
問題 |
No.128 お年玉(1)
|
ユーザー |
|
提出日時 | 2025-09-22 19:30:48 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 352 bytes |
コンパイル時間 | 2,816 ms |
コンパイル使用メモリ | 275,280 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-22 19:30:53 |
合計ジャッジ時間 | 3,943 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <bits/stdc++.h> [[nodiscard]] static inline constexpr uint_fast64_t solve(const uint_fast64_t N, const uint_fast32_t M) noexcept { return N / 1000 / M * 1000; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); uint_fast64_t N; uint_fast32_t M; std::cin >> N >> M; std::cout << solve(N, M) << '\n'; return 0; }