Problem candies
User eulerleonhardfan
Submission Time 2023-12-11 15:19:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp:21:10: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
21 | int m[1e6+5];
| ~~~^~
candies.cpp:21:10: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’
candies.cpp:21:10: error: size of array ‘m’ has non-integral type ‘double’