QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#403726 | #5034. >.< | mekoszc | Compile Error | / | / | C++14 | 2.5kb | 2024-05-02 18:00:53 | 2024-05-02 18:00:53 |
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:139:28: error: ‘INF’ was not declared in this scope 139 | printf("%lld",ans==INF? -1LL:ans); | ^~~ answer.code:108:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 108 | scanf("%d%d%d",&n,&m,&k),idx=n; | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:111:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 111 | scanf("%d%d%d",&u,&v,&w); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:125:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 125 | scanf("%d",&p); | ~~~~~^~~~~~~~~ answer.code:127:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 127 | scanf("%d",a+i); | ~~~~~^~~~~~~~~~