QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#402852 | #8320. 种树 | jxy2012 | Compile Error | / | / | C++23 | 1.9kb | 2024-05-01 16:41:08 | 2024-05-01 16:41:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘__int128 unsigned encode(int, const int*)’: answer.code:45:5: error: ‘u128’ was not declared in this scope 45 | u128 res = 0; | ^~~~ answer.code:48:13: error: ‘res’ was not declared in this scope 48 | res += f[n - 1][a + 1][b]; | ^~~ answer.code:54:12: error: ‘res’ was not declared in this scope 54 | return res; | ^~~ 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(); | ^~