結果
| 問題 | No.836 じょうよ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-27 00:23:41 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 409 bytes |
| 記録 | |
| コンパイル時間 | 987 ms |
| コンパイル使用メモリ | 27,008 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-06-26 08:05:02 |
| 合計ジャッジ時間 | 5,386 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 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);
}