Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
44073 YOYOLEE-李昕颖 字符串 C++ Runtime Error 0 MS 232 KB 225 2024-03-27 20:30:34

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ char s[100]; int i; cin>>s; for(i=1; ;i++){ if(s[i]==' ') break; } for(;i>0;i++){ cout<<s[i]; } return 0; }


Judgement Protocol: