Submission #20013276


Source Code Expand

#include <bits/stdc++.h>
using namespace std;

int main(){
	long long int n,x;
	cin >> n >> x;
	int a[100000];
	vector<int> c;
	for(int i = 0;i<n;i++){
		cin >> a[i];
		if(a[i]!=x){
			cout << a[i] << " ";
		}
	}
	return 0;
}

Submission Info

Submission Time
Task B - Remove It
User hocashi
Language C++ (GCC 9.2.1)
Score 200
Code Size 240 Byte
Status AC
Exec Time 191 ms
Memory 3940 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 14
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All handmade_00.txt, handmade_01.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
handmade_00.txt AC 6 ms 3484 KiB
handmade_01.txt AC 2 ms 3536 KiB
random_00.txt AC 44 ms 3916 KiB
random_01.txt AC 191 ms 3800 KiB
random_02.txt AC 172 ms 3940 KiB
random_03.txt AC 188 ms 3796 KiB
random_04.txt AC 189 ms 3812 KiB
random_05.txt AC 36 ms 3640 KiB
random_06.txt AC 35 ms 3872 KiB
random_07.txt AC 27 ms 3528 KiB
random_08.txt AC 95 ms 3740 KiB
random_09.txt AC 142 ms 3844 KiB
sample_01.txt AC 4 ms 3528 KiB
sample_02.txt AC 2 ms 3500 KiB