QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#440522#1. I/O TestLDM01160 0ms0kbC++142.3kb2024-06-13 20:00:032024-06-13 20:00:03

Judging History

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

  • [2024-06-13 20:00:03]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2024-06-13 20:00:03]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
#define mkp make_pair
#define ll long long
#define ull unsigned long long
#define pb emplace_back
#define sort stable_sort
#define iinf 0x3f3f3f3f
#define linf 0x3f3f3f3f3f3f3f3f
#define lowbit(x) x&(-x)
#define pii pair<int,int>
#define i128 __int128
using namespace std;
namespace io{
	#define int long long
	const int B=10;
	int read(){
		int x=0,f=1;char c=getchar();
		while(!isdigit(c)){if(c=='-') f=-1;c=getchar();}
		while(isdigit(c)){x=x*B+c-'0';c=getchar();}
		return x*f;
	}
	void print(int x){
		if(x<B){putchar(x+'0');return;}
		print(x/B);putchar(x%B+'0');
	}
}using namespace io;
namespace smiling{
	
	int n,a;
	ll s;
	int main(){
		n=read();
		for(int i=1;i<=n;i++){
			a=read();
			s+=a;
		}
		print(s);
		return 0;
	}
}
int main(){
	#ifdef ONLINE_JUDGE
    #else
        freopen("1.in","r",stdin);
        freopen("1.out","w",stdout);

        double s=clock();
    #endif


    ios::sync_with_stdio(false);
    cin.tie(0);
    
    smiling::main();


    #ifdef ONLINE_JUDGE
    #else
        double t=clock();
        printf("\n\ntime:%.6lf",(t-s)/1000);
    #endif
	return 0;
}

output_test

#include<bits/stdc++.h>
#define mkp make_pair
#define ll long long
#define ull unsigned long long
#define pb emplace_back
#define sort stable_sort
#define iinf 0x3f3f3f3f
#define linf 0x3f3f3f3f3f3f3f3f
#define lowbit(x) x&(-x)
#define pii pair<int,int>
#define i128 __int128
using namespace std;
namespace io{
	#define int long long
	const int B=10;
	int read(){
		int x=0,f=1;char c=getchar();
		while(!isdigit(c)){if(c=='-') f=-1;c=getchar();}
		while(isdigit(c)){x=x*B+c-'0';c=getchar();}
		return x*f;
	}
	void print(int x){
		if(x<B){putchar(x+'0');return;}
		print(x/B);putchar(x%B+'0');
	}
}using namespace io;
namespace smiling{
	int n;
	int main(){
		n=read();
		for(int i=1;i<=n;i++){
			print(100000000),putchar(' ');
		}
		return 0;
	}
}
int main(){
	#ifdef ONLINE_JUDGE
    #else
        freopen("1.in","r",stdin);
        freopen("1.out","w",stdout);

        double s=clock();
    #endif


    ios::sync_with_stdio(false);
    cin.tie(0);
    
    smiling::main();


    #ifdef ONLINE_JUDGE
    #else
        double t=clock();
        printf("\n\ntime:%.6lf",(t-s)/1000);
    #endif
	return 0;
}

詳細信息

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
692315082 357474652 448064975 260783191 411676465 951656074 890662392 711801738 747763753 387991402 348331807 592196425 292449954 825838727 708144656 810744682 548453076 738495946 973874637 628424559 832786147 348636096 415479915 600093455 681396605 840999824 663968630 158011339 227442717 4...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: