QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#210695#1. I/O TestczcCompile Error//C++141.0kb2023-10-11 18:59:322023-10-11 18:59:34

Judging History

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

  • [2023-10-11 18:59:34]
  • 评测
  • [2023-10-11 18:59:32]
  • 提交

config.txt

10000000

input_test

#include<bits/stdc++.h>
using namespace std;
#define int long long
inline void read(int &x){
	x=0;
	bool f=0;
	char c=getchar();
	while(c<'0' || c>'9'){
		if(c=='-') f=1;
		c=getchar();
	}
	while(c>='0' && c<='9'){
		x=(x<<1)+(x<<3)+(c^48);
		c=getchar();
	}
	if(f) x=-x;
} 
inline void write(int x){
	if(x<0) putchar('-');
	if(x>9) write(x/10);
	putchar(x%10+48);
}
signed main(){
	int ans=0;
	int n;
	read(n);
	for(int i=1,x;i<=n;i++){
		read(x);	
		ans+=x;
	}
	write(ans);
	return 0;
}

output_test

#include<bits/stdc++.h>
using namespace std;
#define int long long
inline void read(int &x){
	x=0;
	bool f=0;
	char c=getchar();
	while(c<'0' || c>'9'){
		if(c=='-') f=1;
		c=getchar();
	}
	while(c>='0' && c<='9'){
		x=(x<<1)+(x<<3)+(c^48);
		c=getchar();
	}
	if(f) x=-x;
} 
inline void write(int x){
	if(x<0) putchar('-');
	if(x>9) write(x/10);
	putchar(x%10+48);
}
signed main(){
	int n;
	read(n);
	for(int i=1;i<=n;i++){
		write(100000000),putchar(' ');
	}
	return 0;
}

Details

Invalid Configuration File: failed to read Nin and Nout