Submission #52267894
Source Code Expand
// LUOGU_RID: 155505025
#include <bits/stdc++.h>
#define int long long
#define pb push_back
#define fi first
#define se second
#define PII pair<int,int>
using namespace std;
signed main()
{
int n,x;cin>>n>>x;
for(int i=0;i<n;i++) {
int tmp;cin>>tmp;
if(tmp!=x) cout<<tmp<<" ";
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Remove It |
| User | gangbengr |
| Language | C++ 20 (gcc 12.2) |
| Score | 200 |
| Code Size | 303 Byte |
| Status | AC |
| Exec Time | 124 ms |
| Memory | 3692 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| 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 | 1 ms | 3464 KiB |
| handmade_01.txt | AC | 1 ms | 3436 KiB |
| random_00.txt | AC | 24 ms | 3680 KiB |
| random_01.txt | AC | 124 ms | 3496 KiB |
| random_02.txt | AC | 113 ms | 3460 KiB |
| random_03.txt | AC | 122 ms | 3488 KiB |
| random_04.txt | AC | 123 ms | 3496 KiB |
| random_05.txt | AC | 16 ms | 3464 KiB |
| random_06.txt | AC | 20 ms | 3584 KiB |
| random_07.txt | AC | 12 ms | 3468 KiB |
| random_08.txt | AC | 57 ms | 3692 KiB |
| random_09.txt | AC | 91 ms | 3524 KiB |
| sample_01.txt | AC | 1 ms | 3508 KiB |
| sample_02.txt | AC | 1 ms | 3456 KiB |