Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
11816 | 徐一喆 | C语言7.15 | C++ | Accepted | 2 MS | 724 KB | 243 | 2021-05-17 18:48:57 |
#include<bits/stdc++.h> using namespace std; int main() { int a[15]; for(int i=0;i<15;++i) cin>>a[i]; int l; cin>>l; for(int i=0;i<15;++i) if(a[i]==l) { cout<<i; return 0; } cout<<"NO"<<endl; return 0; }