Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122250 王子涵 18陶陶摘苹果 C++ Runtime Error 0 MS 272 KB 210 2025-06-15 08:49:02

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[10],sg,sd,num=0; cin>>sg; sd=sg+30; for(int i=1;i<=10;i++) { cin>>a[i]; if(sd>=a[i]) num+=1; } cout<<num; return 0; }


Run Info:

*** stack smashing detected ***: ./Main terminated