QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#256775#7620. Yet Another Subsequence Problemucup-team1565#Compile Error//C++204.0kb2023-11-18 21:40:132023-11-18 21:40:13

詳細信息

answer.code:120:1: error: expected unqualified-id before ‘[’ token
  120 | [v]: {{8, 1, 10, 1, }, {2, 4, 0, 4, }, {9, 0, 11, 0, }, {2, 4, 0, 4, }, },
      | ^
answer.code:120:74: error: expected unqualified-id before ‘,’ token
  120 | [v]: {{8, 1, 10, 1, }, {2, 4, 0, 4, }, {9, 0, 11, 0, }, {2, 4, 0, 4, }, },
      |                                                                          ^
answer.code:121:1: error: expected unqualified-id before ‘[’ token
  121 | [sz(v), *max_element(all(freq))]: 4, 4,
      | ^
answer.code:122:264: error: expected unqualified-id before ‘,’ token
  122 | [v]: {{16, 3, 16, 9, 18, 1, 18, 9, }, {3, 44, 3, 36, 1, 46, 1, 36, }, {16, 3, 16, 9, 18, 1, 18, 9, }, {6, 40, 6, 32, 4, 42, 4, 32, }, {17, 2, 17, 8, 19, 0, 19, 8, }, {2, 45, 2, 37, 0, 47, 0, 37, }, {17, 2, 17, 8, 19, 0, 19, 8, }, {6, 40, 6, 32, 4, 42, 4, 32, }, },
      |                                                                                                                                                                                                                                                                        ^
answer.code:123:1: error: expected unqualified-id before ‘[’ token
  123 | [sz(v), *max_element(all(freq))]: 8, 4,
      | ^
answer.code:124:1116: error: expected unqualified-id before ‘,’ token
  124 | [v]: {{64, 39, 72, 7, 72, 39, 64, 13, 66, 37, 74, 5, 74, 37, 66, 13, }, {27, 128, 19, 168, 19, 128, 27, 160, 25, 130, 17, 170, 17, 130, 25, 160, }, {68, 35, 76, 3, 76, 35, 68, 9, 70, 33, 78, 1, 78, 33, 70, 9, }, {11, 148, 3, 188, 3, 148, 11, 180, 9, 150, 1, 190, 1, 150, 9, 180, }, {68, 35, 76, 3, 76, 35, 68, 9, 70, 33, 78, 1, 78, 33, 70, 9, }, {27, 128, 19, 168, 19, 128, 27, 160, 25, 130, 17, 170, 17, 130, 25, 160, }, {64, 39, 72, 7, 72, 39, 64, 13, 66, 37, 74, 5, 74, 37, 66, 13, }, {14, 144, 6, 184, 6, 144, 14, 176, 12, 146, 4, 186, 4, 146, 12, 176, }, {65, 38, 73, 6, 73, 38, 65, 12, 67, 36, 75, 4, 75, 36, 67, 12, }, {26, 129, 18, 169, 18, 129, 26, 161, 24, 131, 16, 171, 16, 131, 24, 161, }, {69, 34, 77, 2, 77, 34, 69, 8, 71, 32, 79, 0, 79, 32, 71, 8, }, {10, 149, 2, 189, 2, 149, 10, 181, 8, 151, 0, 191, 0, 151, 8, 181, }, {69, 34, 77, 2, 77, 34, 69, 8, 71, 32, 79, 0, 79, 32, 71, 8, }, {26, 129, 18, 169, 18, 129, 26, 161, 24, 131, 16, 171, 16, 131, 24, 161, }, {65, 38, 73, 6, 73, 38, 65, 12, 67, 36, 75, 4, 75, 36, 67, 12, }, {14, 144, 6, 184, 6, 144, 14, 176, 12, 146, 4, 186, 4, 146, 12, 176, }, },
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
answer.code:125:1: error: expected unqualified-id before ‘[’ token
  125 | [sz(v), *max_element(all(freq))]: 16, 8,
      | ^