QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#350223 | #7181. Graph Cuts | GuanYunchang | Compile Error | / | / | C++23 | 2.5kb | 2024-03-10 15:37:17 | 2024-03-10 15:37:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:61:27: error: ‘sqrt’ was not declared in this scope; did you mean ‘st’? 61 | st = static_cast<int>(sqrt(n)) + 1; | ^~~~ | st answer.code:60:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 60 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:64:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | scanf("%d%d", &u, &v); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:94:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | scanf("%d", &q); | ~~~~~^~~~~~~~~~ answer.code:97:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | scanf("%s", op); | ~~~~~^~~~~~~~~~ answer.code:100:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 100 | scanf("%d", &x); | ~~~~~^~~~~~~~~~