Problem eating
User P55D2K
Submission Time 2023-04-21 14:42:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:14:21: error: conversion from ‘long double’ to ‘long unsigned int’ in a converted constant expression
14 | ld final_output[ops];
| ^~~
eating.cpp:14:21: error: could not convert ‘ops’ from ‘long double’ to ‘long unsigned int’
eating.cpp:14:21: error: size of array ‘final_output’ has non-integral type ‘long double’