Problem segmenttree2
User PlayVoltz
Submission Time 2023-09-04 23:31:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp:6:16: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[2e7], lazytree[2e7];
| ^~~
segmenttree2.cpp:6:16: error: could not convert ‘2.0e+7’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:16: error: size of array ‘segmenttree’ has non-integral type ‘double’
segmenttree2.cpp:6:31: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[2e7], lazytree[2e7];
| ^~~
segmenttree2.cpp:6:31: error: could not convert ‘2.0e+7’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:31: error: size of array ‘lazytree’ has non-integral type ‘double’