Problem pilot
User PlayVoltz
Submission Time 2023-10-24 13:59:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp:8:12: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
8 | int ans[1e6+5], s[1e6+5];
| ~~~^~
pilot.cpp:8:12: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’
pilot.cpp:8:12: error: size of array ‘ans’ has non-integral type ‘double’
pilot.cpp:8:22: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
8 | int ans[1e6+5], s[1e6+5];
| ~~~^~
pilot.cpp:8:22: error: could not convert ‘(1.0e+6 + (double)5)’ from ‘double’ to ‘long unsigned int’
pilot.cpp:8:22: error: size of array ‘s’ has non-integral type ‘double’