結果

問題 No.46 はじめのn歩
ユーザー とりりとりり
提出日時 2016-02-25 00:19:27
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 235 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 55,580 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2023-10-23 19:42:50
合計ジャッジ時間 7,330 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>

using namespace std;

int main(){
	int a[2];
	int b = 0;
	int c = 0;
	cin >> a[0];
	cin >> a[1];

	while (b < a[1])
	{
		b += a[0];
	cout << b << endl;
		c++;
	cout << c << endl;
	}
	cout << c << endl;
	return 0;
}
0