QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#878134#1. I/O Testsc170 0ms0kbC++141.1kb2025-02-01 13:42:072025-02-01 13:42:17

Judging History

This is the latest submission verdict.

  • [2025-02-01 13:42:17]
  • Judged
  • Verdict: 0
  • Time: 0ms
  • Memory: 0kb
  • [2025-02-01 13:42:07]
  • Submitted

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');
}

详细

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

output:


result: