QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#866207 | #7962. 前缀和 | GuanYunchang | Compile Error | / | / | C++23 | 174b | 2025-01-22 13:35:31 | 2025-01-22 13:35:32 |
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:9:29: error: expected ‘;’ before ‘}’ token 9 | printf("%.6f",(r-l+1)*p) | ^ | ; 10 | } | ~ answer.code:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%lld%lf%lld%lld",&n,&p,&l,&r); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~