Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
72515 sh25_wangsj 整数去重 C++ Compile Error 0 MS 0 KB 488 2025-11-01 15:53:08

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 <a; i++) { j=i-1; for(j>=0){ if(arr[i]=arr[j]){ break; }else{ cout<<arr[i]<<" "; } j=j-1; } return 0; }


Judgement Protocol: