QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#403798 | #5034. >.< | mekoszc | Compile Error | / | / | C++14 | 2.6kb | 2024-05-02 19:14:38 | 2024-05-02 19:14:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void ACAM()’: answer.code:72:25: error: invalid operands of types ‘clock_t() throw ()’ {aka ‘long int()’} and ‘double’ to binary ‘operator*’ 72 | if(clock*1.0/CLOCKS_PER_SEC>0.9) | ~~~~~^~~~ | | | | | double | clock_t() throw () {aka long int()} answer.code: In function ‘int main()’: answer.code:116:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | scanf("%d%d%d",&n,&m,&k),idx=n; | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:119:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 119 | scanf("%d%d%d",&u,&v,&w); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:133:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 133 | scanf("%d",&p); | ~~~~~^~~~~~~~~ answer.code:135:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 135 | scanf("%d",a+i); | ~~~~~^~~~~~~~~~