QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#626705#6431. Oops, It's Yesterday Twice MoregankingRE 0ms0kbC++20312b2024-10-10 11:49:082024-10-10 11:49:09

Judging History

你现在查看的是最新测评结果

  • [2024-10-10 11:49:09]
  • 评测
  • 测评结果:RE
  • 用时:0ms
  • 内存:0kb
  • [2024-10-10 11:49:08]
  • 提交

answer

//正确代码
#include<bits/stdc++.h>
using namespace std;
int main(){
    int n,x;
    freopen("data.in","r",stdin);
    freopen("std.out","w",stdout);
    scanf("%d",&n);
    int ans=0;
    for (int i=1;i<=n;i++){
        scanf("%d",&x);
        if (x>=60) ans++;
    }
    printf("%d",ans);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Dangerous Syscalls

input:

3 3 3

output:


result: