結果

問題 No.83 最大マッチング
ユーザー bokoprinbokoprin
提出日時 2020-09-20 23:56:39
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 368 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 27,116 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-06 16:35:48
合計ジャッジ時間 1,067 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(int argc, char *argv[])
{
	unsigned int N_match_num = 11;
	unsigned int i;
//	scanf("%d", &N_match_num);

	for (i = 0; N_match_num != 0; i++)
	{
		if ( ( i == 0 ) && ( N_match_num % 2 != 0 ) )
		{
			printf("7");
		}
		if (N_match_num == 1)
		{
			break;
		}
		N_match_num -= 2;
		printf("1");
	}



	return 0;
}
0