QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#714268 | #1. I/O Test | Core_65536 | 100 | 453ms | 3712kb | C++23 | 1.1kb | 2024-11-05 22:19:37 | 2024-11-05 22:19:37 |
Judging History
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