Problem | clocktower |
---|---|
User | cjcube |
Submission Time | 2023-11-23 18:41:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
clocktower.cpp: In function ‘int main()’:
clocktower.cpp:6:12: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | double p[n-1];
| ~^~
clocktower.cpp:6:12: error: could not convert ‘(n - (double)1)’ from ‘double’ to ‘long unsigned int’
clocktower.cpp:6:12: error: size of array ‘p’ has non-integral type ‘double’