QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#142570 | #6423. Fireworks | HuangHanSheng | Compile Error | / | / | C++11 | 478b | 2023-08-19 12:32:08 | 2023-08-19 12:32:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘long double Get(long long int)’: answer.code:6:36: error: ‘pow’ was not declared in this scope 6 | return min((1.0l*k*n+m)/(1-pow(1-p/10000.0l,k)),1e18l); | ^~~ answer.code: In function ‘int main()’: answer.code:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | scanf("%d",&t); | ~~~~~^~~~~~~~~ answer.code:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf("%d%d%d",&n,&m,&p); | ~~~~~^~~~~~~~~~~~~~~~~~~