Problem | makingparallelograms |
---|---|
User | Jinxuan |
Submission Time | 2023-12-30 12:34:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
makingparallelograms.cpp: In function ‘int32_t main()’:
makingparallelograms.cpp:6:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | int l[1e6+1]; memset(l, 0, sizeof(l));
| ~~~^~
makingparallelograms.cpp:6:11: error: could not convert ‘(1.0e+6 + (double)1)’ from ‘double’ to ‘long unsigned int’
makingparallelograms.cpp:6:11: error: size of array ‘l’ has non-integral type ‘double’