Problem | segmenttree2 |
---|---|
User | PlayVoltz |
Submission Time | 2023-08-06 17:35:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp:6:17: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[4*1e9], lazytree[4*1e9];
| ~^~~~
segmenttree2.cpp:6:17: error: could not convert ‘((double)4 * 1.0e+9)’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:17: error: size of array ‘segmenttree’ has non-integral type ‘double’
segmenttree2.cpp:6:34: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll segmenttree[4*1e9], lazytree[4*1e9];
| ~^~~~
segmenttree2.cpp:6:34: error: could not convert ‘((double)4 * 1.0e+9)’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:6:34: error: size of array ‘lazytree’ has non-integral type ‘double’