QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#296107#1. I/O Testydzr00000200 ✓632ms3632kbC++20407b2024-01-02 09:25:312024-01-02 09:25:33

Judging History

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

  • [2024-01-02 09:25:33]
  • 评测
  • 测评结果:200
  • 用时:632ms
  • 内存:3632kb
  • [2024-01-02 09:25:31]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	scanf("%d",&n);
	long long sum=0;
	for(int i=1;i<=n;i++)
	{
		int x;
		scanf("%d",&x);
		sum=sum+x;
	}
	printf("%lld\n",sum);
    
    return 0;
}

output_test

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	scanf("%d",&n);
	for(int i=1;i<=n;i++)
		printf("%d ",100000000+i);
    
    return 0;
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 632ms
memory: 3628kb

input:

10000000
780803082 268140696 112610837 425208770 351039278 942020383 370862793 924733164 659018373 703949896 430664113 872671340 773335209 310887565 273080076 268919776 817789309 807929416 606685507 453377788 839835274 306030096 605452283 365495622 519471778 770855806 596779227 421321775 940223608 7...

output:

5500385082331154

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 495ms
memory: 3632kb

input:

10000000

output:

100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 100000030 ...

result:

points 1.0 output test passed