Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
40896 | liusiyu | 字符串改成大写, 逆序输出 | C++ | Compile Error | 0 MS | 0 KB | 168 | 2024-02-18 11:06:08 |
#include<bits/stdc++.h> using namespace std; int main() { char a[110]; cin>>a; strupr(a); for(int i=strlen(a)-1;i>=0;i--){ cout<<a[i]; } return 0; }