记录详情

Compile Error

/in/foo.cc:1777:39: error: stray '#' in program
 1777 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:3553:39: error: stray '#' in program
 3553 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:5329:39: error: stray '#' in program
 5329 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:7105:39: error: stray '#' in program
 7105 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:8881:39: error: stray '#' in program
 8881 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:10657:39: error: stray '#' in program
10657 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:12433:39: error: stray '#' in program
12433 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:14209:39: error: stray '#' in program
14209 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:15985:39: error: stray '#' in program
15985 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:17761:39: error: stray '#' in program
17761 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:19537:39: error: stray '#' in program
19537 |         for (int i = 1; i <= n; i++) {#include <cstdio>
      |                                       ^
/in/foo.cc:52:11: error: redefinition of 'const int MOD'
   52 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:3:11: note: 'const int MOD' previously defined here
    3 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:54:5: error: redefinition of 'int n'
   54 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:5:5: note: 'int n' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:54:8: error: redefinition of 'int ans'
   54 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:5:8: note: 'int ans' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:54:13: error: redefinition of 'int tmp'
   54 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:5:13: note: 'int tmp' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:54:18: error: redefinition of 'int count1'
   54 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:5:18: note: 'int count1' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:54:26: error: redefinition of 'int count2'
   54 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:5:26: note: 'int count2' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:55:5: error: redefinition of 'int near [50000001]'
   55 | int near[50000001];
      |     ^~~~
/in/foo.cc:6:5: note: 'int near [50000001]' previously declared here
    6 | int near[50000001];
      |     ^~~~
/in/foo.cc:57:5: error: redefinition of 'int main()'
   57 | int main() {
      |     ^~~~
/in/foo.cc:8:5: note: 'int main()' previously defined here
    8 | int main() {
      |     ^~~~
/in/foo.cc:101:11: error: redefinition of 'const int MOD'
  101 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:3:11: note: 'const int MOD' previously defined here
    3 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:103:5: error: redefinition of 'int n'
  103 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:5:5: note: 'int n' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:103:8: error: redefinition of 'int ans'
  103 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:5:8: note: 'int ans' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:103:13: error: redefinition of 'int tmp'
  103 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:5:13: note: 'int tmp' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:103:18: error: redefinition of 'int count1'
  103 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:5:18: note: 'int count1' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:103:26: error: redefinition of 'int count2'
  103 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:5:26: note: 'int count2' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:104:5: error: redefinition of 'int near [50000001]'
  104 | int near[50000001];
      |     ^~~~
/in/foo.cc:6:5: note: 'int near [50000001]' previously declared here
    6 | int near[50000001];
      |     ^~~~
/in/foo.cc:106:5: error: redefinition of 'int main()'
  106 | int main() {
      |     ^~~~
/in/foo.cc:8:5: note: 'int main()' previously defined here
    8 | int main() {
      |     ^~~~
/in/foo.cc:150:11: error: redefinition of 'const int MOD'
  150 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:3:11: note: 'const int MOD' previously defined here
    3 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:152:5: error: redefinition of 'int n'
  152 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:5:5: note: 'int n' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:152:8: error: redefinition of 'int ans'
  152 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:5:8: note: 'int ans' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:152:13: error: redefinition of 'int tmp'
  152 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:5:13: note: 'int tmp' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:152:18: error: redefinition of 'int count1'
  152 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:5:18: note: 'int count1' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                  ^~~~~~
/in/foo.cc:152:26: error: redefinition of 'int count2'
  152 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:5:26: note: 'int count2' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |                          ^~~~~~
/in/foo.cc:153:5: error: redefinition of 'int near [50000001]'
  153 | int near[50000001];
      |     ^~~~
/in/foo.cc:6:5: note: 'int near [50000001]' previously declared here
    6 | int near[50000001];
      |     ^~~~
/in/foo.cc:155:5: error: redefinition of 'int main()'
  155 | int main() {
      |     ^~~~
/in/foo.cc:8:5: note: 'int main()' previously defined here
    8 | int main() {
      |     ^~~~
/in/foo.cc:199:11: error: redefinition of 'const int MOD'
  199 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:3:11: note: 'const int MOD' previously defined here
    3 | const int MOD = 998244353;
      |           ^~~
/in/foo.cc:201:5: error: redefinition of 'int n'
  201 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:5:5: note: 'int n' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |     ^
/in/foo.cc:201:8: error: redefinition of 'int ans'
  201 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:5:8: note: 'int ans' previously declared here
    5 | int n, ans, tmp, count1, count2;
      |        ^~~
/in/foo.cc:201:13: error: redefinition of 'int tmp'
  201 | int n, ans, tmp, count1, count2;
      |             ^~~
/in/foo.cc:5:13: note: 'int tmp' pre

信息

递交者
类型
递交
题目
4、地图(map)
题目数据
下载
语言
C++
递交时间
2025-10-25 10:36:33
评测时间
2025-10-25 10:36:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes