QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#32943 | #141. 8 染色 | flower | Compile Error | / | / | C++14 | 10.0kb | 2022-05-25 23:44:36 | 2023-01-15 14:36:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Alice.code: In function ‘int main()’: Alice.code:132:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | scanf("%d%lld%lld",&n,&lx,&ly); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Alice.code:135:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 135 | scanf("%s%d%d",st1+1,&s[i][1],&s[i][2]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccyGXayJ.o: in function `main': grader_Alice.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccDT5C1K.o:Alice.code:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/ccyGXayJ.o: in function `main': grader_Alice.cpp:(.text.startup+0x148): undefined reference to `Alice(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)' collect2: error: ld returned 1 exit status