Problem party_noi
User Memeathon
Submission Time 2025-02-07 16:13:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party_noi.cpp:3:17: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
3 | #define maxn 2e5+5
| ~~~^~
party_noi.cpp:6:9: note: in expansion of macro ‘maxn’
6 | ll n, a[maxn], ans=0;
| ^~~~
party_noi.cpp:3:17: error: could not convert ‘(2.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
3 | #define maxn 2e5+5
| ~~~^~
party_noi.cpp:6:9: note: in expansion of macro ‘maxn’
6 | ll n, a[maxn], ans=0;
| ^~~~
party_noi.cpp:3:17: error: size of array ‘a’ has non-integral type ‘double’
3 | #define maxn 2e5+5
| ~~~^~
party_noi.cpp:6:9: note: in expansion of macro ‘maxn’
6 | ll n, a[maxn], ans=0;
| ^~~~