QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#338962#7440. rsxcdXqwqCompile Error//C++235.0kb2024-02-26 15:38:392024-02-26 15:38:41

Details

answer.code: In function ‘int main()’:
answer.code:159:18: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  159 |       printf("%llu\n",state);
      |               ~~~^    ~~~~~
      |                  |    |
      |                  |    uint64_t {aka long unsigned int}
      |                  long long unsigned int
      |               %lu
answer.code:161:14: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  161 |   printf("%llu\n",state);
      |           ~~~^    ~~~~~
      |              |    |
      |              |    uint64_t {aka long unsigned int}
      |              long long unsigned int
      |           %lu
/usr/bin/ld: /tmp/ccfIh8At.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccTqTRHt.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccTqTRHt.o: in function `main':
implementer.cpp:(.text.startup+0x1ba): undefined reference to `init(int, int, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status