QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#591593 | #8635. 圆 | ifffer_2137 | 20 | 0ms | 3696kb | C++14 | 668b | 2024-09-26 16:41:00 | 2024-09-26 16:41:01 |
Judging History
answer
//From: ifffer_2137
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define inf 0x7fffffff
#define eb emplace_back
#define pii pair<int,int>
#define mkpr make_pair
#define fir first
#define sec second
inline int read(){
char ch=getchar();int x=0,w=1;
while(ch<'0'||ch>'9'){if(ch=='-')w=-1;ch=getchar();}
while(ch>='0'&&ch<='9')x=(x<<1)+(x<<3)+ch-48,ch=getchar();return w==1?x:-x;
}
const int mod=998244353;
int n;
signed main(){
#ifndef ONLINE_JUDGE
freopen("data.in","r",stdin);
freopen("test.out","w",stdout);
#endif
cin.tie(0),cout.tie(0);
n=read();
if(n==3) puts("1");
else if(n==4) puts("2");
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Pretests
Final Tests
Test #1:
score: 10
Accepted
time: 0ms
memory: 3552kb
input:
3
output:
1
result:
ok 1 number(s): "1"
Test #2:
score: 10
Accepted
time: 0ms
memory: 3688kb
input:
4
output:
2
result:
ok 1 number(s): "2"
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3536kb
input:
6
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3544kb
input:
10
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3580kb
input:
100
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 3544kb
input:
200
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #7:
score: 0
Wrong Answer
time: 0ms
memory: 3696kb
input:
500
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 3532kb
input:
4798
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #9:
score: 0
Wrong Answer
time: 0ms
memory: 3536kb
input:
4999
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 3540kb
input:
5000
output:
result:
wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements