QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#579772#9351. Game Store3un_larryfuncCompile Error//C++1750.0kb2024-09-21 17:48:452024-09-21 17:48:46

Details

answer.code:165:8: error: redefinition of ‘struct koks’
  165 | struct koks {
      |        ^~~~
answer.code:51:8: note: previous definition of ‘struct koks’
   51 | struct koks {
      |        ^~~~
answer.code:183:4: error: redefinition of ‘ll without(ll)’
  183 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:69:4: note: ‘ll without(ll)’ previously defined here
   69 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:187:6: error: redefinition of ‘koks sum(koks, koks)’
  187 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:73:6: note: ‘koks sum(koks, koks)’ previously defined here
   73 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:195:6: error: redefinition of ‘void solve_case()’
  195 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:81:6: note: ‘void solve_case()’ previously defined here
   81 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:222:8: error: redefinition of ‘int main()’
  222 | signed main() {
      |        ^~~~
answer.code:108:8: note: ‘int main()’ previously defined here
  108 | signed main() {
      |        ^~~~
answer.code:237:11: error: redefinition of ‘const int inf’
  237 | const int inf = 1e9;
      |           ^~~
answer.code:10:11: note: ‘const int inf’ previously defined here
   10 | const int inf = 1e9;
      |           ^~~
answer.code:241:6: error: redefinition of ‘template<class T> bool chmin(T&, T)’
  241 | bool chmin(T &a, T b) {
      |      ^~~~~
answer.code:14:6: note: ‘template<class T> bool chmin(T&, T)’ previously declared here
   14 | bool chmin(T &a, T b) {
      |      ^~~~~
answer.code:250:6: error: redefinition of ‘template<class T> bool chmax(T&, T)’
  250 | bool chmax(T &a, T b) {
      |      ^~~~~
answer.code:23:6: note: ‘template<class T> bool chmax(T&, T)’ previously declared here
   23 | bool chmax(T &a, T b) {
      |      ^~~~~
answer.code:278:8: error: redefinition of ‘struct koks’
  278 | struct koks {
      |        ^~~~
answer.code:51:8: note: previous definition of ‘struct koks’
   51 | struct koks {
      |        ^~~~
answer.code:296:4: error: redefinition of ‘ll without(ll)’
  296 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:69:4: note: ‘ll without(ll)’ previously defined here
   69 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:300:6: error: redefinition of ‘koks sum(koks, koks)’
  300 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:73:6: note: ‘koks sum(koks, koks)’ previously defined here
   73 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:308:6: error: redefinition of ‘void solve_case()’
  308 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:81:6: note: ‘void solve_case()’ previously defined here
   81 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:335:8: error: redefinition of ‘int main()’
  335 | signed main() {
      |        ^~~~
answer.code:108:8: note: ‘int main()’ previously defined here
  108 | signed main() {
      |        ^~~~
answer.code:350:11: error: redefinition of ‘const int inf’
  350 | const int inf = 1e9;
      |           ^~~
answer.code:10:11: note: ‘const int inf’ previously defined here
   10 | const int inf = 1e9;
      |           ^~~
answer.code:354:6: error: redefinition of ‘template<class T> bool chmin(T&, T)’
  354 | bool chmin(T &a, T b) {
      |      ^~~~~
answer.code:14:6: note: ‘template<class T> bool chmin(T&, T)’ previously declared here
   14 | bool chmin(T &a, T b) {
      |      ^~~~~
answer.code:363:6: error: redefinition of ‘template<class T> bool chmax(T&, T)’
  363 | bool chmax(T &a, T b) {
      |      ^~~~~
answer.code:23:6: note: ‘template<class T> bool chmax(T&, T)’ previously declared here
   23 | bool chmax(T &a, T b) {
      |      ^~~~~
answer.code:391:8: error: redefinition of ‘struct koks’
  391 | struct koks {
      |        ^~~~
answer.code:51:8: note: previous definition of ‘struct koks’
   51 | struct koks {
      |        ^~~~
answer.code:409:4: error: redefinition of ‘ll without(ll)’
  409 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:69:4: note: ‘ll without(ll)’ previously defined here
   69 | ll without(ll mask) {
      |    ^~~~~~~
answer.code:413:6: error: redefinition of ‘koks sum(koks, koks)’
  413 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:73:6: note: ‘koks sum(koks, koks)’ previously defined here
   73 | koks sum(koks a, koks b) {
      |      ^~~
answer.code:421:6: error: redefinition of ‘void solve_case()’
  421 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:81:6: note: ‘void solve_case()’ previously defined here
   81 | void solve_case() {
      |      ^~~~~~~~~~
answer.code:448:8: error: redefinition of ‘int main()’
  448 | signed main() {
      |        ^~~~
answer.code:108:8: note: ‘int main()’ previously defined here
  108 | signed main() {
      |        ^~~~
answer.code:463:11: error: redefinition of ‘const int inf’
  463 | const int inf = 1e9;
      |           ^~~
answer.code:10:11: note: ‘const int inf’ previously defi...