Problem 01knapsack
User asruby
Submission Time 2023-12-28 22:52:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

01knapsack.cpp:58:16: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
58 | int dp[100][1e5+5];
| ~~~^~
01knapsack.cpp:58:16: error: could not convert ‘(1.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
01knapsack.cpp:58:16: error: size of array ‘dp’ has non-integral type ‘double’