QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#163616 | #7123. Robot Contest | _map_ | Compile Error | / | / | C++20 | 4.7kb | 2023-09-04 12:48:04 | 2024-04-28 07:02:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:195:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 195 | for(int i=1;i<=m;i++)printf("%d/%d\n",a1[i],a2[i]); | ~^ ~~~~~ | | | | int long long int | %lld answer.code:195:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] 195 | for(int i=1;i<=m;i++)printf("%d/%d\n",a1[i],a2[i]); | ~^ ~~~~~ | | | | int long long int | %lld /usr/bin/ld: /tmp/cc9CmOn1.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/cctMbPfZ.o:implementer.cpp:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/cctMbPfZ.o: in function `main': implementer.cpp:(.text.startup+0x17): undefined reference to `program_pulibot()' collect2: error: ld returned 1 exit status