Problem | conductslip |
---|---|
User | Josh28acc2 |
Submission Time | 2024-01-09 22:39:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
conductslip.cpp: In function ‘void solve()’:
conductslip.cpp:70:19: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
70 | ll naughty[6e5+1], stonks[6e5+1], minus[6e5+1];
| ~~~^~
conductslip.cpp:70:19: error: could not convert ‘(6.0e+5 + (double)1)’ from ‘double’ to ‘long unsigned int’
conductslip.cpp:70:19: error: size of array ‘naughty’ has non-integral type ‘double’
conductslip.cpp:70:34: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
70 | ll naughty[6e5+1], stonks[6e5+1], minus[6e5+1];
| ~~~^~
conductslip.cpp:70:34: error: could not convert ‘(6.0e+5 + (double)1)’ from ‘double’ to ‘long unsigned int’
conductslip.cpp:70:34: error: size of array ‘stonks’ has non-integral type ‘double’
conductslip.cpp:70:48: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression