| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 81000 | sh25_zhuwy | 字符数组 | C++ | Accepted | 0 MS | 248 KB | 270 | 2026-01-04 15:37:13 |
#include<bits/stdc++.h> using namespace std; int main() { int num,ans = 0; string s; cin >> num >> s; for (int i = num-1;i >= 0;i--){ cout<<s[i]; if (s[i] >= 'A' && s[i] <= 'Z') ans++; } cout << endl << ans; return 0; }