QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#507122#8635. 圆LGMaster20 0ms3720kbC++14600b2024-08-06 11:13:552024-08-06 11:13:56

Judging History

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

  • [2024-08-06 11:13:56]
  • 评测
  • 测评结果:20
  • 用时:0ms
  • 内存:3720kb
  • [2024-08-06 11:13:55]
  • 提交

answer

#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<climits>
//#define int long long
using namespace std;
const int N=5005,mod=998244353;
int n,ans;
inline int read(){
    int s=0,f=1;
    char ch=getchar();
    while(!isdigit(ch)){
        if(ch=='-') f=-1;
        ch=getchar();
    }
    while(isdigit(ch)){
        s=(s<<3)+(s<<1)+(ch&15);
        ch=getchar();
    }
    return s*f;
}
int main(){
    n=read();
    if(n<=3) puts("1"),exit(0);
    else if(n==4) puts("2"),exit(0);
    else puts("114514");
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 10
Accepted
time: 0ms
memory: 3720kb

input:

3

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: 10
Accepted
time: 0ms
memory: 3636kb

input:

4

output:

2

result:

ok 1 number(s): "2"

Test #3:

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

input:

6

output:

114514

result:

wrong answer 1st numbers differ - expected: '299473309', found: '114514'

Test #4:

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

input:

10

output:

114514

result:

wrong answer 1st numbers differ - expected: '487238321', found: '114514'

Test #5:

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

input:

100

output:

114514

result:

wrong answer 1st numbers differ - expected: '41620761', found: '114514'

Test #6:

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

input:

200

output:

114514

result:

wrong answer 1st numbers differ - expected: '208771764', found: '114514'

Test #7:

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

input:

500

output:

114514

result:

wrong answer 1st numbers differ - expected: '888621375', found: '114514'

Test #8:

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

input:

4798

output:

114514

result:

wrong answer 1st numbers differ - expected: '319137015', found: '114514'

Test #9:

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

input:

4999

output:

114514

result:

wrong answer 1st numbers differ - expected: '818467659', found: '114514'

Test #10:

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

input:

5000

output:

114514

result:

wrong answer 1st numbers differ - expected: '142907477', found: '114514'