Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77450 sh25_shenpy 涂盘子 C++ 通过 0 MS 252 KB 310 2025-12-25 21:57:16

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; bool a[n]={0}; int ind; for(int i=0;i<n;i++){ cin>>ind; a[ind-1]=1; } for(int i=0;i<n;i++){ if(a[i]==0){ cout<<i+1<<" "; } } return 0; }


测评信息: