QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#620705#9320. Find the Easiest ProblemC0pyCatWA 0ms1512kbC11295b2024-10-07 20:33:272024-10-07 20:33:30

Judging History

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

  • [2024-10-07 20:33:30]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:1512kb
  • [2024-10-07 20:33:27]
  • 提交

answer

#include <stdio.h>
 
int main()
{
    int x = 2023;
    int y = 2024;
    int z;
    for(z=5;z<6;z++){
        switch(z){
            default: x = --x+y--;
            case 6: --x,y++;
            case 8: --y,y++;break;
        }
    }
    printf("%d,%d\n",x,y);
    return(0);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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:

4045,2024

result:

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