Run ID:82484

提交时间:2024-07-13 11:40:57

#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+1; return 0; }