Problem platonic30
User nminhnguyenle
Submission Time 2025-12-22 10:00:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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