Run ID:82491

提交时间:2024-07-13 11:42:41

#include<bits/stdc++.h> using namespace std; int main() { int max=0,x; string a; getline(cin,a); for(int i=0;i<a.size();i++){ if(a[i]>max){ max = a[i]; x = i; } } cout<<x-0; return 0; }