QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#878134 | #1. I/O Test | sc17 | 0 | 0ms | 0kb | C++14 | 1.1kb | 2025-02-01 13:42:07 | 2025-02-01 13:42:17 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define pc putchar_unlocked
int read() {
int a = 0; char c;
for (c = gc(); !isdigit(c); c = gc());
while (isdigit(c)) a = a * 10 + c - '0', c = gc();
return a * f;
}
void read(int & a) {
a = read();
}
void put(long long x) {
static char b[39];
int i = 0; do b[i++] = x % 10 + '0'; while (x /= 10);
do pc(b[--i]); while (i);
}
int n;
int main() {
ios::sync_with_stdio(false);
long long x = 0; read(n); while (n--) x += read();
put(x);
}
output_test
#include <bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define pc putchar_unlocked
int read() {
int a = 0; char c;
for (c = gc(); !isdigit(c); c = gc());
while (isdigit(c)) a = a * 10 + c - '0', c = gc();
return a * f;
}
void read(int & a) {
a = read();
}
void put(long long x) {
static char b[39];
int i = 0; do b[i++] = x % 10 + '0'; while (x /= 10);
do pc(b[--i]); while (i);
}
int n;
int main() {
ios::sync_with_stdio(false);
read(n); L(i, 1e8, 1e8 + n) put(i), pc(' ');
pc('\n');
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
10000000 895870567 965119487 782298095 679589743 233406255 160653856 868479159 939525814 223058404 156064557 634209205 486155833 781305160 985653276 675376264 653759126 656882479 820746572 721989016 937006673 913026640 200150965 199146866 757665653 500089242 136208626 934652957 786732281 699059447 7...
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10000000