QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#54032#1. I/O TestZGY0 0ms0kbC++3.5kb2022-10-06 17:34:532022-10-06 17:34:54

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-10-06 17:34:54]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2022-10-06 17:34:53]
  • 提交

config.txt

10000000 10000000

input_test

#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,popcnt,tune=native")
#include <cstdio>
#define putchar putchar_unlocked
#define getchar getchar_unlocked
register char ch;
bool fh;
int len;
template<typename T>
inline void read(T&x){//整数输入
    fh=false;
    while((ch=getchar())<48||ch>57)fh=ch=='-';
    x=ch^48;
    while((ch=getchar())<58&&ch>47)x=(x<<1)+(x<<3)+(ch^48);
    if(fh)x=-x;
}
template<typename T>
inline void unsigned_read(T&x){//无符号整数输入
    while((ch=getchar())<48||ch>57);
    x=ch^48;
    while((ch=getchar())<58&&ch>47)x=(x<<1)+(x<<3)+(ch^48);
}
inline void read(char*x){//字符串输入
    while((*x=getchar())<33);
    len=1;
    while((x[len]=getchar())>32)len++;
    x[len]=0;
}
inline void read(char&x){x=getchar();}//字符输入
inline void input(){}
template<typename... Ar,typename T>
void input(T&x,Ar&...y){//可变参数输入 
    read(x);
    input(y...);
}
template<typename T>
void unsigned_write(T&&/*模板的转发引用*/x){//无符号整数输出 
    if(x>9)unsigned_write(x/10);
    putchar(x%10^48);
} 
template<typename T>
void write(T x){//整数输出 
    if(x<0){
        putchar('-');
        x=-x;
    }
    if(x>9)unsigned_write(x/10);
    putchar(x%10^48);
}
inline void write(const char&x){putchar(x);}//字符输出 
inline void write(const char*x){for(int i=0;x[i];++i)putchar(x[i]);}//字符串输出 
inline void print(){}
template<typename... Ar,typename T>
void print(const T&x,Ar&&...y){//可变参数输出 
    write(x);
    print(y...);
}
int n;
long long s,h;
int main()
{
	unsigned_read(n);
	while(n--)unsigned_read(h),s+=h;
	print(s);
	return 0;
}

output_test

#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,popcnt,tune=native")
#include <cstdio>
#define putchar putchar_unlocked
#define getchar getchar_unlocked
register char ch;
bool fh;
int len;
template<typename T>
inline void read(T&x){//整数输入
    fh=false;
    while((ch=getchar())<48||ch>57)fh=ch=='-';
    x=ch^48;
    while((ch=getchar())<58&&ch>47)x=(x<<1)+(x<<3)+(ch^48);
    if(fh)x=-x;
}
template<typename T>
inline void unsigned_read(T&x){//无符号整数输入
    while((ch=getchar())<48||ch>57);
    x=ch^48;
    while((ch=getchar())<58&&ch>47)x=(x<<1)+(x<<3)+(ch^48);
}
inline void read(char*x){//字符串输入
    while((*x=getchar())<33);
    len=1;
    while((x[len]=getchar())>32)len++;
    x[len]=0;
}
inline void read(char&x){x=getchar();}//字符输入
inline void input(){}
template<typename... Ar,typename T>
void input(T&x,Ar&...y){//可变参数输入 
    read(x);
    input(y...);
}
template<typename T>
void unsigned_write(T&&/*模板的转发引用*/x){//无符号整数输出 
    if(x>9)unsigned_write(x/10);
    putchar(x%10^48);
} 
template<typename T>
void write(T x){//整数输出 
    if(x<0){
        putchar('-');
        x=-x;
    }
    if(x>9)unsigned_write(x/10);
    putchar(x%10^48);
}
inline void write(const char&x){putchar(x);}//字符输出 
inline void write(const char*x){for(int i=0;x[i];++i)putchar(x[i]);}//字符串输出 
inline void print(){}
template<typename... Ar,typename T>
void print(const T&x,Ar&&...y){//可变参数输出 
    write(x);
    print(y...);
}
int n;
int main()
{
	unsigned_read(n);
	while(n--)puts("102947262");
	return 0;
}

詳細信息

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
466849879 111353367 854511705 421923833 411460609 389071364 160416221 629280099 358939459 582843325 332711023 448216683 485209323 206820750 482163589 683134293 780958623 176853573 551721597 634906345 764467663 263085684 959133847 226420545 502420018 197742173 756879975 184434698 861662682 9...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: