QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#368589#1. I/O Testwsyear100 521ms3656kbC++14407b2024-03-27 13:40:052024-03-27 13:40:06

Judging History

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

  • [2024-03-27 13:40:06]
  • 评测
  • 测评结果:100
  • 用时:521ms
  • 内存:3656kb
  • [2024-03-27 13:40:05]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;

int main() {
  cin.tie(nullptr) -> ios::sync_with_stdio(false);
  int n, x;
  long long y = 0;
  cin >> n;
  while (n--) cin >> x, y += x;
  cout << y << '\n';
}

output_test

#include<bits/stdc++.h>
using namespace std;

int main() {
  cin.tie(nullptr) -> ios::sync_with_stdio(false);
  int n = 10000000;
  while (n--) cout << "11111111 ";
}

詳細信息

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 521ms
memory: 3612kb

input:

10000000
107590128 285757848 589588026 439980183 202212476 239831011 392777854 737546926 261965873 731643502 297161791 195479965 601568447 354638149 939566823 762572225 467234035 583179582 546397569 829018740 102538901 489301760 818972942 622182006 405597794 156246374 232763579 756448401 939868925 4...

output:

5499932800363004

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 136ms
memory: 3656kb

input:

10000000

output:

11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 111...

result:

wrong answer Integer 11111111 violates the range [10^8, 999999999]