Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
336081 李俞家骅 【C2-6】排名 C++ 通过 100 2 MS 252 KB 189 2025-07-25 10:53:54

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,x,tt,p=1; cin>>n; for(int i=1;i<=n;i++){ cin>>x; if(i==1) tt=x; if(x>tt) p++; } cout<<p; return 0; }


测评信息: