Problem eating
User P55D2K
Submission Time 2023-04-20 17:06:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:4:12: error: ‘unsigned’ specified with ‘long double’
4 | #define ll unsigned long double
| ^~~~~~~~
eating.cpp:10:5: note: in expansion of macro ‘ll’
10 | ll ops; cin >> ops;
| ^~
eating.cpp:4:12: error: ‘unsigned’ specified with ‘long double’
4 | #define ll unsigned long double
| ^~~~~~~~
eating.cpp:11:5: note: in expansion of macro ‘ll’
11 | ll final_output[ops];
| ^~
eating.cpp:11:21: error: conversion from ‘long double’ to ‘long unsigned int’ in a converted constant expression
11 | ll final_output[ops];
| ^~~
eating.cpp:11:21: error: could not convert ‘ops’ from ‘long double’ to ‘long unsigned int’
eating.cpp:11:21: error: size of array ‘final_output’ has non-integral type ‘long double’
eating.cpp:4:12: error: ‘unsigned’ specified with ‘long double’
4 | #define