| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 72516 | sh25_wangsj | 整数去重 | C++ | Compile Error | 0 MS | 0 KB | 489 | 2025-11-01 15:54:09 |
#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; }