Problem conductslip
User asbx
Submission Time 2024-01-02 07:23:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conductslip.cpp: In function ‘int main()’:
conductslip.cpp:67:11: error: conversion from ‘ll*’ {aka ‘long long int*’} to ‘long unsigned int’ in a converted constant expression
67 | ll Pslip[s], Pnoslip[n]; //prefixes
| ^
conductslip.cpp:67:11: error: could not convert ‘s’ from ‘ll [(l + 1)]’ {aka ‘long long int [(l + 1)]’} to ‘long unsigned int’
conductslip.cpp:67:11: error: size of array ‘Pslip’ has non-integral type ‘ll [(l + 1)]’ {aka ‘long long int [(l + 1)]’}
conductslip.cpp:67:23: error: conversion from ‘bool*’ to ‘long unsigned int’ in a converted constant expression
67 | ll Pslip[s], Pnoslip[n]; //prefixes
| ^
conductslip.cpp:67:23: error: could not convert ‘n’ from ‘bool [l]’ to ‘long unsigned int’
conductslip.cpp:67:23: error: size of array ‘Pnoslip’ has non-integral type ‘bool [l]’
conductslip.cpp:24:14: error: expected primary-expression before ‘=’ token
24 | #define LLINF=(ll)(1e18)<