QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~