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

Compile Error

shops.cpp:9:15: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
9 | vector<pii> v[2e6];
| ^~~
shops.cpp:9:15: error: could not convert ‘2.0e+6’ from ‘double’ to ‘long unsigned int’
shops.cpp:9:15: error: size of array ‘v’ has non-integral type ‘double’
shops.cpp:10:8: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
10 | int to[2e6];
| ^~~
shops.cpp:10:8: error: could not convert ‘2.0e+6’ from ‘double’ to ‘long unsigned int’
shops.cpp:10:8: error: size of array ‘to’ has non-integral type ‘double’
shops.cpp:11:9: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
11 | int col[2e6];
| ^~~
shops.cpp:11:9: error: could not convert ‘2.0e+6’ from ‘double’ to ‘long unsigned int’
shops.cpp:11:9: error: size of array ‘col’ has non-integral type ‘double’
shops.cpp: In f