| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77289 | sh25_shenpy | 查找特定的值 | C++ | 编译错误 | 0 MS | 0 KB | 292 | 2025-12-21 21:10:12 |
#include <bits/stdc++.h> using namespace std; int main( ) { int n,x; cin>>n; int s[n]; for(int i=0;i<n;++i){ cin>>s[i]; } cin>>x; for(int j=0;j<n;++j){ if(s[i]==x){ cout<<j+1; break; }} return 0;}