QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#878810#1. I/O Testlowtune200 ✓525ms3584kbC++14369b2025-02-01 17:54:552025-02-01 17:55:01

Judging History

This is the latest submission verdict.

  • [2025-02-01 17:55:01]
  • Judged
  • Verdict: 200
  • Time: 525ms
  • Memory: 3584kb
  • [2025-02-01 17:54:55]
  • Submitted

config.txt

10000000 10000000

input_test

#include<iostream>

using namespace std;
int n,tmp;
long long ans;
int main(){
	ios::sync_with_stdio(false);
	cin>>n;
	for(int i=0;i<n;i++){
		cin>>tmp;
		ans+=tmp;
	}
	cout<<ans;
}

output_test

#include<iostream>

using namespace std;
int n;
int main(){
	ios::sync_with_stdio(false);
	cin>>n;
	for(int i=1e8,x=0;x<n;i++,x++) cout<<i<<" ";
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 525ms
memory: 3584kb

input:

10000000
981483745 775306693 598941882 855543707 351255250 726241200 434923234 996824511 778445278 312209513 995549737 423553594 919784438 555791508 513187713 519116773 983032486 842488052 561285306 588130467 393130478 623955976 562809195 414292073 116324463 119482463 152039918 540628354 199473824 4...

output:

5500459186205877

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 449ms
memory: 3584kb

input:

10000000

output:

100000000 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 ...

result:

points 1.0 output test passed