1 solutions

  • 0
    @ 2025-7-19 9:29:50
    #include<bits/stdc++.h>
    using namespace std;
    int a,b;
    int main(){
    	cin>>a;
    	int t=0;
    	while(cin>>b&&b<a){
    		t++;
    	}
    	cout<<t+1;
    }
    
    • 1

    Information

    ID
    95
    Time
    1000ms
    Memory
    32MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    26
    Accepted
    21
    Uploaded By