foo.cc:3:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
3 | #define MAXN 2e7
| ^~~
foo.cc:58:14: note: in expansion of macro 'MAXN'
58 | stone data[MAXN];
| ^~~~
foo.cc:3:14: error: could not convert '2.0e+7' from 'double' to 'long unsigned int'
3 | #define MAXN 2e7
| ^~~
| |
| double
foo.cc:58:14: note: in expansion of macro 'MAXN'
58 | stone data[MAXN];
| ^~~~
foo.cc:3:14: error: size of array 'data' has non-integral type 'double'
3 | #define MAXN 2e7
| ^~~
foo.cc:58:14: note: in expansion of macro 'MAXN'
58 | stone data[MAXN];
| ^~~~
foo.cc:3:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
3 | #define MAXN 2e7
| ^~~
foo.cc:59:13: note: in expansion of macro 'MAXN'
59 | int range[MAXN][2];
| ^~~~
foo.cc:3:14: error: could not convert '2.0e+7' from 'double' to 'long unsigned int'
3 | #define MAXN 2e7
| ^~~
| |
| double
foo.cc:59:13: note: in expansion of macro 'MAXN'
59 | int range[MAXN][2];
| ^~~~
foo.cc:3:14: error: size of array 'range' has non-integral type 'double'
3 | #define MAXN 2e7
| ^~~
foo.cc:59:13: note: in expansion of macro 'MAXN'
59 | int range[MAXN][2];
| ^~~~
foo.cc:3:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
3 | #define MAXN 2e7
| ^~~
foo.cc:60:18: note: in expansion of macro 'MAXN'
60 | long long sumW[MAXN];
| ^~~~
foo.cc:3:14: error: could not convert '2.0e+7' from 'double' to 'long unsigned int'
3 | #define MAXN 2e7
| ^~~
| |
| double
foo.cc:60:18: note: in expansion of macro 'MAXN'
60 | long long sumW[MAXN];
| ^~~~
foo.cc:3:14: error: size of array 'sumW' has non-integral type 'double'
3 | #define MAXN 2e7
| ^~~
foo.cc:60:18: note: in expansion of macro 'MAXN'
60 | long long sumW[MAXN];
| ^~~~
foo.cc:3:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
3 | #define MAXN 2e7
| ^~~
foo.cc:61:18: note: in expansion of macro 'MAXN'
61 | long long sumV[MAXN];
| ^~~~
foo.cc:3:14: error: could not convert '2.0e+7' from 'double' to 'long unsigned int'
3 | #define MAXN 2e7
| ^~~
| |
| double
foo.cc:61:18: note: in expansion of macro 'MAXN'
61 | long long sumV[MAXN];
| ^~~~
foo.cc:3:14: error: size of array 'sumV' has non-integral type 'double'
3 | #define MAXN 2e7
| ^~~
foo.cc:61:18: note: in expansion of macro 'MAXN'
61 | long long sumV[MAXN];
| ^~~~
[Hydro](https://hydro.ac)提供评测服务