Problem shops
User Rolo
Submission Time 2025-03-27 02:11:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp:9:28: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
9 | vector<pair<int,int>> v[2e5+5];
| ~~~^~
shops.cpp:9:28: error: could not convert ‘(2.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
shops.cpp:9:28: error: size of array ‘v’ has non-integral type ‘double’
shops.cpp:10:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
10 | int to[2e5+5];
| ~~~^~
shops.cpp:10:11: error: could not convert ‘(2.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
shops.cpp:10:11: error: size of array ‘to’ has non-integral type ‘double’
shops.cpp:11:12: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
11 | int col[2e5+5];
| ~~~^~
shops.cpp:11:12: error: could not convert ‘(2.0e+5 + (double)5)’ from ‘double’ to ‘long unsigned int’
shops.c