Problem flappyrabbit
User duck
Submission Time 2025-12-10 15:45:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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