QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#49857 | #1968. Science Fiction | ZhangYiDe | Compile Error | / | / | C++17 | 1.1kb | 2022-09-23 17:08:50 | 2022-09-23 17:08:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:23:14: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression 23 | int a[1e6+5], b[1e6+5]; | ~~~^~ answer.code:23:14: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’ answer.code:23:14: error: size of array ‘a’ has non-integral type ‘double’ answer.code:23:24: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression 23 | int a[1e6+5], b[1e6+5]; | ~~~^~ answer.code:23:24: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’ answer.code:23:24: error: size of array ‘b’ has non-integral type ‘double’