Problem routine
User zhaoqihui
Submission Time 2024-05-25 11:04:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

routine.cpp:4:17: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | long long a[1e6 + 5];
| ~~~~^~~
routine.cpp:4:17: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’
routine.cpp:4:17: error: size of array ‘a’ has non-integral type ‘double’
routine.cpp:5:17: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | long long t[1e6 + 5];
| ~~~~^~~
routine.cpp:5:17: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’
routine.cpp:5:17: error: size of array ‘t’ has non-integral type ‘double’