Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110286 吴梓玄 18陶陶摘苹果 C++ Runtime Error 0 MS 272 KB 232 2025-02-15 17:25:52

Tests(0/10):


Code:

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


Run Info:

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