| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3175 | 龚施宇 | 寻找下标 | C++ | Wrong Answer | 50 | 0 MS | 256 KB | 271 | 2019-12-14 13:21:47 |
#include<iostream> using namespace std; int main(){ int xli[101],sum; cin>>sum; for(int i=0;i<sum;i++){ cin>>xli[i]; } for(int i=0;i<sum;i++){ if(xli[i]==i){ printf("%d",i); break; } if(!xli[i]){ printf("N"); } } return 0; }