knapsack.cpp:4:13: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
4 | int dp[1e5][1e5];
| ^~~
knapsack.cpp:4:13: error: could not convert '1.0e+5' from 'double' to 'long unsigned int'
4 | int dp[1e5][1e5];
| ^~~
| |
| double
knapsack.cpp:4:13: error: size of array 'dp' has non-integral type 'double'
knapsack.cpp:4:8: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
4 | int dp[1e5][1e5];
| ^~~
knapsack.cpp:4:8: error: could not convert '1.0e+5' from 'double' to 'long unsigned int'
4 | int dp[1e5][1e5];
| ^~~
| |
| double
knapsack.cpp:4:8: error: size of array 'dp' has non-integral type 'double'