QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#714268#1. I/O TestCore_65536100 453ms3712kbC++231.1kb2024-11-05 22:19:372024-11-05 22:19:37

Judging History

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

  • [2024-11-05 22:19:37]
  • 评测
  • 测评结果:100
  • 用时:453ms
  • 内存:3712kb
  • [2024-11-05 22:19:37]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
using namespace std;
#define endl '\n'

inline register int read_positive() { //读取一个正整数
	register int x = 0;
	register char c = getchar();
	while (c < '0' || c > '9') 
		c = getchar();
	while (c >= '0' && c <= '9') {
		x = x * 10 + c - '0';
		c = getchar();
	}
	return x;
}

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    register int n;  x = read_positive();
    // while(n--){
    //     cout<<100000000<<endl;
    // }
    register long long ans = 0;
    while(n--){
        register long long x;  
        x = read_positive();
        ans += x;
    }
    cout<<ans<<endl;
}

output_test

#include <bits/stdc++.h>
using namespace std;
#define endl '\n'

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    register int n;  cin>>n;
    while(n--){
        cout<<100000000<<endl;
    }
    // register long long ans = 0;
    // while(n--){
    //     register long long x;  cin>>x;
    //     ans += x;
    // }
    // cout<<ans<<endl;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
606030071 576506409 427798818 964914351 533697267 949932791 461644496 843102402 308027738 697575498 395646426 426064675 382178648 459383510 991747023 174826217 328263904 825481480 787604631 120362738 802987116 501721256 222928218 405955473 212269089 823598853 478668778 639268373 320334579 9...

output:


result:


Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 453ms
memory: 3712kb

input:

10000000

output:

100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
...

result:

points 1.0 output test passed