QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#705889#9434. Italian Cuisineucup-team2262Compile Error//C++204.0kb2024-11-03 03:24:312024-11-03 03:24:31

Details

answer.code:79:2: error: stray ‘#’ in program
   79 | }#include <bits/stdc++.h>
      |  ^
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:12: error: ‘bits’ was not declared in this scope
   79 | }#include <bits/stdc++.h>
      |            ^~~~
answer.code:79:17: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   79 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
answer.code:79:3: error: ‘include’ does not name a type
   79 | }#include <bits/stdc++.h>
      |   ^~~~~~~
answer.code:83:8: error: redefinition of ‘struct pt’
   83 | struct pt {
      |        ^~
answer.code:5:8: note: previous definition of ‘struct pt’
    5 | struct pt {
      |        ^~
answer.code:91:3: error: redefinition of ‘long long int dot(const pt&, const pt&)’
   91 | T dot(const pt& v, const pt& u) { return v.x * u.x + v.y * u.y; }
      |   ^~~
answer.code:13:3: note: ‘long long int dot(const pt&, const pt&)’ previously defined here
   13 | T dot(const pt& v, const pt& u) { return v.x * u.x + v.y * u.y; }
      |   ^~~
answer.code:92:3: error: redefinition of ‘long long int cross(const pt&, const pt&)’
   92 | T cross(const pt& v, const pt& u) { return v.x * u.y - v.y * u.x; }
      |   ^~~~~
answer.code:14:3: note: ‘long long int cross(const pt&, const pt&)’ previously defined here
   14 | T cross(const pt& v, const pt& u) { return v.x * u.y - v.y * u.x; }
      |   ^~~~~
answer.code:94:11: error: redefinition of ‘long long int triangle_area(const pt&, const pt&, const pt&)’
   94 | long long triangle_area(const pt& a, const pt& b, const pt& c) {
      |           ^~~~~~~~~~~~~
answer.code:16:11: note: ‘long long int triangle_area(const pt&, const pt&, const pt&)’ previously defined here
   16 | long long triangle_area(const pt& a, const pt& b, const pt& c) {
      |           ^~~~~~~~~~~~~
answer.code:98:8: error: redefinition of ‘struct line’
   98 | struct line {
      |        ^~~~
answer.code:20:8: note: previous definition of ‘struct line’
   20 | struct line {
      |        ^~~~
answer.code:105:6: error: redefinition of ‘bool no_intersection(const pt&, const pt&, const pt&, long long int)’
  105 | bool no_intersection(const pt& p, const pt& q, const pt& center, T radius) {
      |      ^~~~~~~~~~~~~~~
answer.code:27:6: note: ‘bool no_intersection(const pt&, const pt&, const pt&, long long int)’ previously defined here
   27 | bool no_intersection(const pt& p, const pt& q, const pt& center, T radius) {
      |      ^~~~~~~~~~~~~~~
answer.code:112:11: error: redefinition of ‘long long int sgn(long long int)’
  112 | long long sgn(long long x) {
      |           ^~...