QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#366786#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team2335Compile Error//C++1428.6kb2024-03-25 08:04:452024-03-25 08:04:45

详细

answer.code:13:9: error: "#" is not a valid filename
   13 | #362376 #8513. Insects, Mathematics, Accuracy, and Efficiency   HoMaMaOvO (Riku Kawasaki, Masaki Nishimoto, Yui Hosaka)#        AC ✓    4ms     4248kb  C++20   28.0kb  2024-03-23 15:13:22     2024-03-23 15:13:23
      |         ^
answer.code:13:132: error: extended character ✓ is not valid in an identifier
   13 | #362376 #8513. Insects, Mathematics, Accuracy, and Efficiency   HoMaMaOvO (Riku Kawasaki, Masaki Nishimoto, Yui Hosaka)#        AC ✓    4ms     4248kb  C++20   28.0kb  2024-03-23 15:13:22     2024-03-23 15:13:23
      |                                                                                                                                    ^
answer.code:1:1: error: ‘peng’ does not name a type
    1 | peng bo peng bei (Shenghao Zhang)
      | ^~~~
answer.code: In function ‘void input(Args& ...)’:
answer.code:136:37: warning: fold-expressions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  136 |                 (generate_single(a),...);
      |                                     ^~~
answer.code:41:11: warning: fold-expressions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   41 | #define a first
      |           ^~~~~
answer.code:138:32: note: in expansion of macro ‘a’
  138 |                 (cin >> ... >> a);
      |                                ^
answer.code: In function ‘vc<t> cat(vc<t>, Args&& ...)’:
answer.code:677:33: warning: fold-expressions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  677 |         (pb(a,forward<Args>(b)),...);
      |                                 ^~~
answer.code: In function ‘ld xcutval(const pt&, const pt&, ld)’:
answer.code:948:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  948 |         auto [p,q]=xcut(a,b,x);
      |              ^
answer.code: In function ‘std::pair<std::pair<pt, pt>, std::pair<pt, pt> > tangent_line_ext(C, C)’:
answer.code:1203:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
 1203 |         auto [p,q]=tangent_points_ext(a,b);
      |              ^
answer.code: In function ‘std::pair<std::pair<pt, pt>, std::pair<pt, pt> > tangent_line_in(C, C)’:
answer.code:1215:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
 1215 |         auto [p,q]=tangent_points_in(a,b);
      |              ^
answer.code: In function ‘vc<std::pair<pt, pt> > tangent_lines(C, C)’:
answer.code:1223:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
 1223 |                 auto [p,q]=tangent_line_ext(a,b);
      |                      ^
answer.code:1228:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
 1228 |                 auto [p,q]=tangent_line_in(a,b);
      |                      ^
answer.code: In function ‘void slv()’:
answer.code:1321:38: error: no matching function for call to ‘C::C(pt, ld&)’
 1321 |                 bool has=ccl(C(pt(),r),ln(a,b),t1,t2);
      |                                      ^
answer.code:1085:8: note: candidate: ‘C::C()’
 1085 | struct C{
      |        ^
answer.code:1085:8: note:   candidate expects 0 arguments, 2 provided
answer.code:1085:8: note: candidate: ‘constexpr C::C(const C&)’
answer.code:1085:8: note:   candidate expects 1 argument, 2 provided
answer.code:1085:8: note: candidate: ‘constexpr C::C(C&&)’
answer.code:1085:8: note:   candidate expects 1 argument, 2 provided