The code takes input values for n and x, and an array a of size 2010. It then loops through the array a and checks if each element is equal to x. If an element is not equal to x, it is printed. The code returns 0 at the end.

#includebitsstdc++husing namespace std;int nxa2010;int main	cinnx; for int i=0; in;i++ cinai; for int i=0;in;i++ if ai!= x coutai ; return 0;

原文地址: https://www.cveoy.top/t/topic/iEOH 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录