Problem ssoca
User CKCodeBreaker55
Submission Time 2024-12-12 15:14:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ssoca.cpp: In function ‘int main()’:
ssoca.cpp:9:37: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
9 | int a[n], pre[n], suff[n], psum[2e5+1];
| ~~~^~
ssoca.cpp:9:37: error: could not convert ‘(2.0e+5 + (double)1)’ from ‘double’ to ‘long unsigned int’
ssoca.cpp:9:37: error: size of array ‘psum’ has non-integral type ‘double’