QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#725568#1. I/O TestKaTeX100 542ms3704kbC++14570b2024-11-08 18:48:572024-11-08 18:48:58

Judging History

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

  • [2024-11-08 18:48:58]
  • 评测
  • 测评结果:100
  • 用时:542ms
  • 内存:3704kb
  • [2024-11-08 18:48:57]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N=1e7;
void init();
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	init();
	return 0;
}
void init() {
	ll sum=0;
	for(int i=1; i<=N; ++i) {
		int a;
		cin>>a;
		sum+=a;
	}
	cout<<sum<<'\n';
}

output_test

#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N=1e7,P=1e8+7;
void init();
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	init();
	return 0;
}
void init() {
	for(int i=1; i<=N; ++i) cout<<P<<' ';
	cout<<'\n';
}

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 542ms
memory: 3580kb

input:

10000000
985340291 636156041 403763234 511524468 473689682 189799353 488078028 796734888 460281264 606755836 212601514 590768849 276646553 166754498 712671147 560712227 449436940 473888421 997507751 460446422 397108438 789534893 663709255 368392642 158666446 367289621 551777721 827893021 530927499 4...

output:

5499180649884962

result:

wrong answer expected 5499181458591042, found 5499180649884962

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 441ms
memory: 3704kb

input:

10000000

output:

100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 ...

result:

points 1.0 output test passed