Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
37307 | ☩Deutschland☩ | 查找特定的值 | C++ | Wrong Answer | 1 MS | 244 KB | 263 | 2024-01-20 09:57:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,e=0; cin>>n; int ns[n]; for(int i=0;i<=n-1;i++){ cin>>ns[i]; for(int j=0;j<=n-1;j++){ cin>>m; if(m==ns[i]){ e+=i; break; } } } cout<<e; return 0; }