| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 84614 | sh25_linzx | 查找特定的值 | C++ | Accepted | 0 MS | 256 KB | 292 | 2026-02-12 12:09:13 |
#include<iostream> using namespace std; int main(){ int n,m; cin>>n; int s[n]; for(int i=0;i<n;++i) cin>>s[i]; cin>>m; for(int i=0;i<n;++i){ if(s[i]==m){ cout<<i+1; return 0; } } cout<<-1; return 0; }