QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#65300 | #4585. Greedy Knapsack | ZhangYiDe | Compile Error | / | / | C++ | 2.3kb | 2022-11-29 14:16:47 | 2022-11-29 14:16:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:91:20: warning: missing terminating " character 91 | printf("%lld %lld | ^ answer.code:91:20: error: missing terminating " character 91 | printf("%lld %lld | ^~~~~~~~~~ answer.code:92:1: warning: missing terminating " character 92 | ",A,B); | ^ answer.code:92:1: error: missing terminating " character 92 | ",A,B); | ^~~~~~~ answer.code: In function ‘int main()’: answer.code:93:9: error: expected primary-expression before ‘}’ token 93 | } | ^ answer.code:77:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | scanf("%d%d",&n,&q); | ~~~~~^~~~~~~~~~~~~~ answer.code:78:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | scanf("%s",s+1); | ~~~~~^~~~~~~~~~ answer.code:81:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | scanf("%d",&x); | ~~~~~^~~~~~~~~ answer.code:83:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | scanf("%d%d",&l,&r); | ~~~~~^~~~~~~~~~~~~~ answer.code:87:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | scanf("%d%d%lld%lld",&l,&r,&a,&b); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~