QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#772646#1. I/O Testliuzhenhao090 1ms4780kbC++14600b2024-11-22 21:00:522024-11-22 21:00:53

Judging History

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

  • [2024-11-22 21:00:53]
  • 评测
  • 测评结果:0
  • 用时:1ms
  • 内存:4780kb
  • [2024-11-22 21:00:52]
  • 提交

config.txt

10000000 0

input_test

#include<bits/stdc++.h>
#define int long long
using namespace std; 
const int INF = 1e16 + 7;
char buf[1<<21],*p1,*p2;
#define gc() (p1 == p2 && (p2 = (p1 = buf) + fread(buf,1,1<<20,stdin),p1 == p2) ? 0 : *++p1)
template <typename T>
inline void read(T& x){
	int f = 1;
	x = 0;
	char ch = gc();
	while(!isdigit(ch)){
		if(ch == '-') f = -1;
		ch = gc();
	}
	while(isdigit(ch)){
		x = (x << 1) + (x << 3) + (ch ^ 48);
		ch = gc();
	}
	x *= f;
}
int n,x,s = 0;
signed main(){
	read(n);
	for(int i = 1; i <= n; i++) read(x),s += x;
	printf("%lld",s);
    return 0;
}

output_test


Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 4780kb

input:

10000000
340150317 850029880 692767997 195246325 352676359 277816477 622863179 176502896 320539147 429276634 816425464 809730954 413188655 881688146 473143944 945332793 350764678 497202239 637195980 764731555 776418450 451673196 206259073 200744420 897721461 524628970 294972975 918899803 800430655 9...

output:

0

result:

wrong answer expected 5500114872638824, found 0

Subtask #2:

score: 0
Skipped