2 条题解

  • 0
    @ 2026-1-7 13:16:43
    #include<bits/stdc++.h>
    using namespace std;
    int a,x;
    int main(){
        cin>>a;
        for(int i=1;i<=a;i++){
        	cin>>x;
        	if(x==0){cout<<i;break;}
        }
        
        return 0;
    }
    
    
    

    信息

    ID
    1138
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    (无)
    递交数
    362
    已通过
    262
    上传者