QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#36686#1. I/O TestD_F_S100 451ms3552kbC++882b2022-06-28 14:22:212022-06-28 14:22:21

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-06-28 14:22:21]
  • 评测
  • 测评结果:100
  • 用时:451ms
  • 内存:3552kb
  • [2022-06-28 14:22:21]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
#define inl inline
using namespace std;
const int N=1e5+5;
int n;
long long ans;
inl int Read()
{
	int s=0; char c; while(!isdigit(c=getchar()));
	for(;isdigit(c);c=getchar()) s=s*10+c-'0'; return s;
}
inl void Write(int x)
{
	int c=0,s[10]; do s[++c]=x%10; while(x/=10);
	while(c--) putchar(s[c+1]+'0'); putchar(' ');
}
int main()
{
	for(n=Read();n--;) ans+=Read();
	Write(ans);
	return 0;
}

output_test

#include<bits/stdc++.h>
#define inl inline
using namespace std;
const int N=1e5+5;
int n;
long long ans;
inl int Read()
{
	int s=0; char c; while(!isdigit(c=getchar()));
	for(;isdigit(c);c=getchar()) s=s*10+c-'0'; return s;
}
inl void Write(int x)
{
	int c=0,s[10]; do s[++c]=x%10; while(x/=10);
	while(c--) putchar(s[c+1]+'0'); putchar(' ');
}
int main()
{
	for(n=Read();n--;) Write(100000000);
	return 0;
}

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 450ms
memory: 3552kb

input:

10000000
451694521 591568737 493940347 906207622 861903262 987125122 951590139 122679834 396486289 862524415 327392741 173249241 178704793 181611905 281007818 608314701 311012783 197684711 223223114 842586368 422169299 310131404 984431899 301902395 948138289 677892193 944873067 595772177 803588857 3...

output:

494783114 

result:

wrong answer expected 5499079052085898, found 494783114

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 451ms
memory: 3516kb

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