提出 #39854960


ソースコード 拡げる

#include <stdio.h>

int main (void) {

	int n;
	scanf("%i", &n);

	for (int i = 0; n > i; i++) {
		int tmp;
		scanf("%i", &tmp);

		if (tmp % 2 == 0) {
			printf("%i ", tmp);
		}
	}
}

提出情報

提出日時
問題 A - Filter
ユーザ InTheBloom
言語 C (Clang 10.0.0)
得点 100
コード長 200 Byte
結果 AC
実行時間 4 ms
メモリ 2080 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 9
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_03.txt, 01_random_04.txt, 02_max_05.txt, 02_max_06.txt, 03_random_07.txt, 03_random_08.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 4 ms 1968 KiB
00_sample_01.txt AC 1 ms 2056 KiB
00_sample_02.txt AC 1 ms 2072 KiB
01_random_03.txt AC 1 ms 2032 KiB
01_random_04.txt AC 1 ms 1964 KiB
02_max_05.txt AC 1 ms 2080 KiB
02_max_06.txt AC 2 ms 1968 KiB
03_random_07.txt AC 1 ms 2060 KiB
03_random_08.txt AC 1 ms 2024 KiB