| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 109347 | taffy | 折半查找法 | C++ | Wrong Answer | 70 | 1 MS | 336 KB | 214 | 2023-11-08 13:35:23 |
#include<bits/stdc++.h> using namespace std; int q[110000]; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ int x; cin>>x; if(!q[x])q[x]=i; } int m; cin>>m; cout<<q[m]; return 0; }