QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#570476#9320. Find the Easiest ProblemrlaaaWA 0ms3632kbC++23526b2024-09-17 16:01:522024-09-17 16:01:56

Judging History

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

  • [2024-09-17 16:01:56]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3632kb
  • [2024-09-17 16:01:52]
  • 提交

answer

#include<bits/stdc++.h>
using namespace  std;
int main() {

    int t;
    cin>>t;
    while(t--){
        int my,co=0,tmp;
        cin>>my;
        for(int i=1;i<32;i++){
            cin>>tmp;
            if( my>tmp) co++;
        }
        if(co<=1) cout<<32<<endl;
        else if(co<=5) cout<<16<<endl;
        else if(co<=12) cout<<8<<endl;
        else if(co<=26) cout<<4<<endl;
        else if(co<=30) cout<<2<<endl;
        else cout<<1<<endl;


    }
    return 0;
}














详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3632kb

input:

2
5
teamA A accepted
teamB B rejected
teamC A accepted
teamB B accepted
teamD C accepted
4
teamA A rejected
teamB A accepted
teamC B accepted
teamC B accepted

output:

1
1

result:

wrong answer 1st lines differ - expected: 'A', found: '1'