| Problem | lunchbox |
|---|---|
| User | Memeathon |
| Submission Time | 2025-02-08 21:41:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:3:17: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
3 | #define maxn 2e5+5
| ~~~^~
lunchbox.cpp:6:12: note: in expansion of macro ‘maxn’
6 | ll n, m, a[maxn], ans=0;
| ^~~~
lunchbox.cpp:3:17: error: could not convert ‘(2.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
3 | #define maxn 2e5+5
| ~~~^~
lunchbox.cpp:6:12: note: in expansion of macro ‘maxn’
6 | ll n, m, a[maxn], ans=0;
| ^~~~
lunchbox.cpp:3:17: error: size of array ‘a’ has non-integral type ‘double’
3 | #define maxn 2e5+5
| ~~~^~
lunchbox.cpp:6:12: note: in expansion of macro ‘maxn’
6 | ll n, m, a[maxn], ans=0;
| ^~~~