QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#402535 | #8320. 种树 | jxy2012# | Compile Error | / | / | C++20 | 1.8kb | 2024-04-30 19:43:31 | 2024-04-30 19:43:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
grader_encoder.cpp: In function ‘__int128 unsigned {anonymous}::read()’: grader_encoder.cpp:7:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | #define gc() ((buff == buf + 100000 ? (fread(buf,1,100000,stdin),buff = buf) : 0),*(buff++)) | ~~~~~^~~~~~~~~~~~~~~~~~~~ grader_encoder.cpp:12:17: note: in expansion of macro ‘gc’ 12 | int c = gc(); | ^~ grader_encoder.cpp:7:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | #define gc() ((buff == buf + 100000 ? (fread(buf,1,100000,stdin),buff = buf) : 0),*(buff++)) | ~~~~~^~~~~~~~~~~~~~~~~~~~ grader_encoder.cpp:13:39: note: in expansion of macro ‘gc’ 13 | while(c < '0' || c > '9') c = gc(); | ^~ grader_encoder.cpp:7:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | #define gc() ((buff == buf + 100000 ? (fread(buf,1,100000,stdin),buff = buf) : 0),*(buff++)) | ~~~~~^~~~~~~~~~~~~~~~~~~~ grader_encoder.cpp:14:62: note: in expansion of macro ‘gc’ 14 | while(c >= '0' && c <= '9') x = x * 10 + c - '0',c = gc(); | ^~ /usr/bin/ld: /tmp/ccd3UUiI.o: in function `main': grader_encoder.cpp:(.text.startup+0x673): undefined reference to `encoder(int, int const*)' collect2: error: ld returned 1 exit status