| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 68082 | 朱宸瑜 | 放大的X | C++ | Time Limit Exceeded | 0 | 1000 MS | 256 KB | 368 | 2023-02-02 13:54:35 |
#include <bits/stdc++.h> using namespace std; int small,sesmall,num,c,n; int main(){ cin>>c; while(c--){ small=0x3f3f3f3f; sesmall=0x3f3f3f3f; cin>>n; while(n--){ cin>>num; if(num<small) small=num; if(num>small&&num<sesmall) sesmall=num; } if(sesmall!=0x3f3f3f3f) cout<<sesmall<<endl; else cout<<"NO"<<endl; } return 0; }