結果
問題 |
No.2880 Max Sigma Mod
|
ユーザー |
|
提出日時 | 2024-09-09 23:55:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 1,865 ms |
コンパイル使用メモリ | 192,320 KB |
最終ジャッジ日時 | 2025-02-24 06:28:09 |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 WA * 30 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int N, M; cin >> N >> M; long long ans = 0; for (int i = 1; i <= M; i++){ ans += N % i; } cout << ans << endl; }