Problem | segmenttree2 |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-04 23:34:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp:6:24: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[(ll)1e8 *1.5], lazytree[(ll)1e8 *1.5];
| ~~~~~~~~^~~~
segmenttree2.cpp:6:24: error: could not convert ‘((double)(long long int)1.0e+8 * 1.5e+0)’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:24: error: size of array ‘segmenttree’ has non-integral type ‘double’
segmenttree2.cpp:6:48: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[(ll)1e8 *1.5], lazytree[(ll)1e8 *1.5];
| ~~~~~~~~^~~~
segmenttree2.cpp:6:48: error: could not convert ‘((double)(long long int)1.0e+8 * 1.5e+0)’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:48: error: size of array ‘lazytree’ has non-integral type ‘double’