QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#269575 | #7640. Colorful Cycles | ucup-team1151 | Compile Error | / | / | C++17 | 1.7kb | 2023-11-29 19:41:58 | 2023-11-29 19:41:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:53:20: error: too few arguments to function ‘void dfs(int, int, int)’ 53 | d[i] = 1; dfs(i, 0); | ~~~^~~~~~ answer.code:19:6: note: declared here 19 | void dfs(int u, int p, int pw) { | ^~~ answer.code:40:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | scanf("%d", &test); | ~~~~~^~~~~~~~~~~~~ answer.code:42:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 42 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:46:12: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 46 | scanf("%d%d%d", &u, &v, &w); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~