結果

問題 No.46 はじめのn歩
ユーザー tyasuigittyasuigit
提出日時 2019-04-06 23:26:33
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 510 ms
コンパイル使用メモリ 26,632 KB
実行使用メモリ 8,760 KB
最終ジャッジ日時 2023-09-07 08:59:46
合計ジャッジ時間 7,152 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 TLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(){
	int a;
	int b;
	int c=0, tmp=0;

	scanf("%d %d", &a, &b);

	while(a<b){
		tmp = tmp + a;
		c++;
	}
	printf("%d\n", c);
	return 0;
}
0