結果

問題 No.2891 Mint
ユーザー Mr73
提出日時 2024-09-14 00:02:31
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 1,023 ms
コンパイル使用メモリ 28,416 KB
実行使用メモリ 13,884 KB
最終ジャッジ日時 2024-09-14 00:02:41
合計ジャッジ時間 8,580 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 2 WA * 13 TLE * 2 -- * 37
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(){
	int m, n, s = 0;
scanf("%d %d", &m,&n);
for(int i=1; i<=n; i++){
s = s+ m%i;
}
printf("%d\n",s);
}
0