QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#340278 | #1. I/O Test | BYR_KKK | 0 | 0ms | 0kb | C++14 | 1.6kb | 2024-02-28 20:10:19 | 2024-02-28 20:10:20 |
config.txt
10000000 0
input_test
// LUOGU_RID: 148461593
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
#include<ext/pb_ds/hash_policy.hpp>
#define gt getchar
#define pt putchar
#define fst first
#define scd second
#define SZ(s) ((int)s.size())
#define all(s) s.begin(),s.end()
#define pb push_back
#define eb emplace_back
typedef long long ll;
typedef double db;
typedef long double ld;
typedef unsigned long long ull;
typedef unsigned int uint;
const int N=5e6+5;
const int R=1e5+5;
const int M=5e6+5;
const ll inf=1e18;
using namespace std;
using namespace __gnu_pbds;
typedef pair<int,int> pii;
template<class T,class I> inline void chkmax(T &a,I b){a=max(a,(T)b);}
template<class T,class I> inline void chkmin(T &a,I b){a=min(a,(T)b);}
inline bool __(char ch){return ch>=48&&ch<=57;}
template<class T> inline void read(T &x){
x=0;bool sgn=0;static char ch=gt();
while(!__(ch)&&ch!=EOF) sgn|=(ch=='-'),ch=gt();
while(__(ch)) x=(x<<1)+(x<<3)+(ch&15),ch=gt();
if(sgn) x=-x;
}
template<class T,class ...I> inline void read(T &x,I &...x1){
read(x);
read(x1...);
}
template<class T> inline void print(T x){
static char stk[70];short top=0;
if(x<0) pt('-');
do{stk[++top]=x>=0?(x%10+48):(-(x%10)+48),x/=10;}while(x);
while(top) pt(stk[top--]);
}
template<class T> inline void printsp(T x){
print(x);
putchar(' ');
}
template<class T> inline void println(T x){
print(x);
putchar('\n');
}
signed main(){
int n;
read(n);
int sum=0;
while(n--){
int a;
read(a);
sum+=a;
}
printf("%d",a);
return 0;
}
output_test
详细
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
10000000 972807813 759679957 476441099 274425935 965108164 876676330 543694956 367768735 139028027 456380358 503249100 515375342 972356418 640585401 533785015 507386628 422909536 569327592 761388637 441984015 293368360 328175395 356254919 929326128 403114844 863663504 798368160 587491218 926478462 9...
output:
result:
Subtask #2:
score: 0
Skipped