Problem flappyrabbit
User YSH2020
Submission Time 2025-11-11 16:16:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flappyrabbit.cpp:4:13: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | int pref[1e7+5],suff[1e7+5];
| ~~~^~
flappyrabbit.cpp:4:13: error: could not convert ‘(1.0e+7 + (double)5)’ from ‘double’ to ‘long unsigned int’
flappyrabbit.cpp:4:13: error: size of array ‘pref’ has non-integral type ‘double’
flappyrabbit.cpp:4:25: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | int pref[1e7+5],suff[1e7+5];
| ~~~^~
flappyrabbit.cpp:4:25: error: could not convert ‘(1.0e+7 + (double)5)’ from ‘double’ to ‘long unsigned int’
flappyrabbit.cpp:4:25: error: size of array ‘suff’ has non-integral type ‘double’