Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- int n,x=1000000009,ans,y;
- bool f= false;
- scanf("%d",&n);
- for(int i=0;i<n;i++)
- {
- scanf("%d",&y);
- if(y<x)
- {
- x=y;
- ans=i;
- f=false;
- }
- else if(y==x)
- {
- f=true;
- }
- //cout<<x<<" "<<f<<endl;
- }
- if(f)printf("Still Rozdil\n");
- else printf("%d\n",ans+1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement