Problem | gotosleep |
---|---|
User | yuhong |
Submission Time | 2024-11-04 10:44:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotosleep.cpp:37:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
37 | int dp[1e6+1];
| ~~~^~
gotosleep.cpp:37:11: error: could not convert ‘(1.0e+6 + (double)1)’ from ‘double’ to ‘long unsigned int’
gotosleep.cpp:37:11: error: size of array ‘dp’ has non-integral type ‘double’