結果

問題 No.1991 Secret Garden
ユーザー 👑 ygussanyygussany
提出日時 2022-06-24 22:46:47
言語 C
(gcc 12.3.0)
結果
RE  
実行時間 -
コード長 195 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 28,160 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-26 05:48:21
合計ジャッジ時間 831 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,816 KB
testcase_01 AC 1 ms
6,940 KB
testcase_02 AC 0 ms
6,944 KB
testcase_03 AC 1 ms
6,940 KB
testcase_04 AC 1 ms
6,940 KB
testcase_05 AC 1 ms
6,940 KB
testcase_06 AC 1 ms
6,944 KB
testcase_07 AC 1 ms
6,940 KB
testcase_08 AC 1 ms
6,944 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
testcase_21 AC 1 ms
6,944 KB
testcase_22 AC 1 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
	long long N;
	scanf("%lld", &N);
	if (N <= 4) printf("%lld\n", N - 2);
	else if (N <= 15) printf("%lld\n", N - 3);
	else return -1;
	fflush(stdout);
	return 0;
}
0