Problem topical
User Kiameimon
Submission Time 2024-01-14 19:40:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp:15:10: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
15 | int mark[1e6];
| ^~~
topical.cpp:15:10: error: could not convert ‘1.0e+6’ from ‘double’ to ‘long unsigned int’
topical.cpp:15:10: error: size of array ‘mark’ has non-integral type ‘double’
topical.cpp:17:9: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
17 | int cur[1e6];
| ^~~
topical.cpp:17:9: error: could not convert ‘1.0e+6’ from ‘double’ to ‘long unsigned int’
topical.cpp:17:9: error: size of array ‘cur’ has non-integral type ‘double’