結果
| 問題 | No.836 じょうよ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-27 00:23:41 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 409 bytes |
| 記録 | |
| コンパイル時間 | 47 ms |
| コンパイル使用メモリ | 34,560 KB |
| 実行使用メモリ | 12,160 KB |
| 最終ジャッジ日時 | 2026-07-22 09:11:48 |
| 合計ジャッジ時間 | 2,966 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 1 -- * 40 |
ソースコード
#include<stdio.h>
int main() {
int i,j;
int l,r,n;
int array[100];
scanf("%d %d %d", &l, &r, &n);
for(i = 0;;i++) {
while(l >= r) {
if(l % n == i) {
++array[i];
}
if(l >= r){
break;
} else r++;
}
}
for (j = 0;j >= i;j++) {
printf("%d\n", array[j]);
}
return (0);
}