Problem segmenttree2
User ThePwo
Submission Time 2023-09-18 18:21:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp:5:25: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | int n, q, a, b, c, k, t[2e9], d[2e9];
| ^~~
segmenttree2.cpp:5:25: error: could not convert ‘2.0e+9’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:5:25: error: size of array ‘t’ has non-integral type ‘double’
segmenttree2.cpp:5:33: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | int n, q, a, b, c, k, t[2e9], d[2e9];
| ^~~
segmenttree2.cpp:5:33: error: could not convert ‘2.0e+9’ from ‘double’ to ‘long unsigned int’
segmenttree2.cpp:5:33: error: size of array ‘d’ has non-integral type ‘double’