UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213866#2157. 数列x_add_b06ms1196kbC++11439b2024-11-13 22:56:392024-11-13 23:11:18

answer

#include<bits/stdc++.h>

namespace IO
{
	template<typename Type>
	void read(Type &x){
		char ch=getchar();
		x=0;bool f=0;
		while(ch<'0'||ch>'9')
			f|=(ch=='-'),ch=getchar();
		while(ch>='0'&&ch<='9')
			x=((x<<1)+(x<<3)+(ch^48)),ch=getchar();
		x=f?-x:x;
	}
}

using namespace std;

#define LL long long
#define N 1000005

LL n,p;
LL dp[2][N];

int main()
{
	scanf("%lld%lld",&n,&p);
	printf("%lld",2*n-1);
}

详细

小提示:点击横条可展开更详细的信息

Test #1:

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

input:

921 998054347

output:

1841

result:

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

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 1192kb

input:

926 998064329

output:

1851

result:

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

Test #3:

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

input:

1000 998074327

output:

1999

result:

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

Test #4:

score: 0
Wrong Answer
time: 1ms
memory: 1196kb

input:

952 998084303

output:

1903

result:

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

Test #5:

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

input:

989 998094347

output:

1977

result:

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

Test #6:

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

input:

902 998104313

output:

1803

result:

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

Test #7:

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

input:

914 998114333

output:

1827

result:

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

Test #8:

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

input:

986 998124313

output:

1971

result:

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

Test #9:

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

input:

947 998134339

output:

1893

result:

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

Test #10:

score: 0
Wrong Answer
time: 1ms
memory: 1192kb

input:

934 998144339

output:

1867

result:

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

Test #11:

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

input:

991572 998154343

output:

1983143

result:

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

Test #12:

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

input:

932800 998164337

output:

1865599

result:

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

Test #13:

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

input:

903603 998174341

output:

1807205

result:

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

Test #14:

score: 0
Wrong Answer
time: 1ms
memory: 1192kb

input:

958646 998184331

output:

1917291

result:

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

Test #15:

score: 0
Wrong Answer
time: 1ms
memory: 1192kb

input:

983016 998194349

output:

1966031

result:

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

Test #16:

score: 0
Wrong Answer
time: 1ms
memory: 1192kb

input:

922347 998204353

output:

1844693

result:

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

Test #17:

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

input:

976053 998214317

output:

1952105

result:

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

Test #18:

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

input:

957300 998224351

output:

1914599

result:

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

Test #19:

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

input:

921760 998234353

output:

1843519

result:

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

Test #20:

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

input:

912948 998244353

output:

1825895

result:

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