Problem omnomnom
User asbx
Submission Time 2023-12-16 09:44:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

omnomnom.cpp:10:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
10 | int dp[1e5+5];
| ~~~^~
omnomnom.cpp:10:11: error: could not convert ‘(1.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
omnomnom.cpp:10:11: error: size of array ‘dp’ has non-integral type ‘double’
omnomnom.cpp: In function ‘int main()’:
omnomnom.cpp:49:29: error: cannot resolve overloaded function ‘front’ based on conversion to type ‘long long int’
49 | if(!traversed[v]) p[v]=q.front;
| ^~~~~