QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#826412 | #1. I/O Test | I_like_magic | 0 | 1ms | 3600kb | C++14 | 699b | 2024-12-22 10:18:42 | 2024-12-22 10:18:42 |
config.txt
0 114514
input_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read() {
int res = 0, f = 1; char c = getchar();
while(c != '-' && (c < '0' || c > '9')) c = getchar();
if(c == '-') f = -1, c = getchar();
while(c >= '0' && c <= '9') res = res * 10 + c - '0', c = getchar();
return res * f;
}
signed main() {
int n = read();
int ans = 0;
for(int i = 1; i <= n; i ++) {
int a;
a = read();
ans += a;
}
cout << ans;
}
output_test
#include<bits/stdc++.h>
using namespace std;
int main() {
int t = 1;
while(t--) {
int i = 9;
while(i --) putchar('1');
putchar('\n');
}
}
詳細信息
Subtask #1:
score: 0
Skipped
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 1ms
memory: 3600kb
input:
114514
output:
111111111
result:
wrong output format Unexpected end of file - int32 expected