Problem | floors |
---|---|
User | pengzhehan62 |
Submission Time | 2023-12-27 16:35:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
floors.cpp:5:15: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | int parent[1e7+5];
| ~~~^~
floors.cpp:5:15: error: could not convert ‘(1.0e+7 + (double)5)’ from ‘double’ to ‘long unsigned int’
floors.cpp:5:15: error: size of array ‘parent’ has non-integral type ‘double’