Problem reading
User isaackhong
Submission Time 2023-04-14 16:42:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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