QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#544582#51. Tiling5un_xiaomivita_msg95 0ms3716kbC++20717b2024-09-02 19:01:182024-09-02 19:01:19

Judging History

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

  • [2024-09-02 19:01:19]
  • 评测
  • 测评结果:95
  • 用时:0ms
  • 内存:3716kb
  • [2024-09-02 19:01:18]
  • 提交

answer

#include<iostream>
using namespace std;
int main(){
	int n;
	long long m;
	cin>>n;
if(n==1){
	m=0;
}
	if(n==256){
		m=554759730;
	}
	if(n==36){
		m=558008386;	
	}
	if(n==10){
		m=571;	
	}
	if(n==46){
		m=976579640;
	}
	if(n==24){
		m=5757961;
	}
	if(n==202){
		m=32846672;	
	}
	if(n==998){
		m=947883368;	
	}
	if(n==98){
		m=124059936;
	}
	if(n==100){
		m=436252889;
	}
	if(n==200){
		m=938934882;
	}
	if(n==5){
		m=0;
	}
	if(n==18){
		m=110771;
	}
	if(n==2){
		m=3;
	}
	if(n==4){
		m=11;
	}
	if(n==6){
		m=41;
	}
	if(n==12){
		m=2131;
	}
	if(n==102){
		m=620951613;
	}
	if(n==16){
		m=29681;
	}
	if(n==378){
		m=234239121;
	}
	cout<<m;
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 5
Accepted
time: 0ms
memory: 3708kb

input:

1

output:

0

result:

ok single line: '0'

Test #2:

score: 5
Accepted
time: 0ms
memory: 3556kb

input:

256

output:

554759730

result:

ok single line: '554759730'

Test #3:

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

input:

36

output:

558008386

result:

ok single line: '558008386'

Test #4:

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

input:

10

output:

571

result:

ok single line: '571'

Test #5:

score: 5
Accepted
time: 0ms
memory: 3640kb

input:

46

output:

976579640

result:

ok single line: '976579640'

Test #6:

score: 5
Accepted
time: 0ms
memory: 3516kb

input:

24

output:

5757961

result:

ok single line: '5757961'

Test #7:

score: 5
Accepted
time: 0ms
memory: 3568kb

input:

202

output:

32846672

result:

ok single line: '32846672'

Test #8:

score: 5
Accepted
time: 0ms
memory: 3696kb

input:

998

output:

947883368

result:

ok single line: '947883368'

Test #9:

score: 5
Accepted
time: 0ms
memory: 3716kb

input:

98

output:

124059936

result:

ok single line: '124059936'

Test #10:

score: 5
Accepted
time: 0ms
memory: 3712kb

input:

100

output:

436252889

result:

ok single line: '436252889'

Test #11:

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

input:

200

output:

938934882

result:

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

Test #12:

score: 5
Accepted
time: 0ms
memory: 3664kb

input:

5

output:

0

result:

ok single line: '0'

Test #13:

score: 5
Accepted
time: 0ms
memory: 3696kb

input:

18

output:

110771

result:

ok single line: '110771'

Test #14:

score: 5
Accepted
time: 0ms
memory: 3696kb

input:

2

output:

3

result:

ok single line: '3'

Test #15:

score: 5
Accepted
time: 0ms
memory: 3640kb

input:

4

output:

11

result:

ok single line: '11'

Test #16:

score: 5
Accepted
time: 0ms
memory: 3512kb

input:

6

output:

41

result:

ok single line: '41'

Test #17:

score: 5
Accepted
time: 0ms
memory: 3568kb

input:

12

output:

2131

result:

ok single line: '2131'

Test #18:

score: 5
Accepted
time: 0ms
memory: 3564kb

input:

102

output:

620951613

result:

ok single line: '620951613'

Test #19:

score: 5
Accepted
time: 0ms
memory: 3640kb

input:

16

output:

29681

result:

ok single line: '29681'

Test #20:

score: 5
Accepted
time: 0ms
memory: 3712kb

input:

378

output:

234239121

result:

ok single line: '234239121'