| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 24252 | Songgr | 倒数第m个数是几 | C++ | Accepted | 0 MS | 240 KB | 174 | 2023-08-09 16:40:26 |
#include<iostream> using namespace std; int main() { int n,m; cin>>n>>m; int a[n]; for(int i=0;i<n;i++) { cin>>a[i]; } cout<<a[n-m]; return 0; }