Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
72514 sh25_wangsj 整数去重 C++ Compile Error 0 MS 0 KB 473 2025-11-01 15:51:22

Tests(0/0):


#include <iostream> using namespace std; int main() { int a,x,j; int arr[666]; for (int i = 0; i < a; i++) { cin >> x; arr[i]=x; } for (int i = 0; i <N; i++) { j=i-1; while(j>=0;j--){ if(arr[i]=arr[j]){ break; }else{ cout<<arr[i]<<" "; } } return 0; }


Judgement Protocol: