QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#554829 | #3000. 希望 | Huluobo | Compile Error | / | / | C++14 | 9.0kb | 2024-09-09 16:27:42 | 2024-09-09 16:27:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:216:1: error: ‘c’ does not name a type 216 | c | ^ answer.code: In function ‘int main()’: answer.code:200:19: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 200 | uint n,k;scanf("%u%u%u",&n,&x,&k); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:201:35: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 201 | for(uint i=1,u,v;i<n;i++)scanf("%u%u",&u,&v),Way[--u].push_back(--v),Way[v].push_back(u); | ~~~~~^~~~~~~~~~~~~~