Problem | routine |
---|---|
User | liliputian |
Submission Time | 2023-04-26 19:42:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
routine.cpp:5:12: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | ln n, m, a[1e6], t[1e6], k;
| ^~~
routine.cpp:5:12: error: could not convert ‘1.0e+6’ from ‘double’ to ‘long unsigned int’
routine.cpp:5:12: error: size of array ‘a’ has non-integral type ‘double’
routine.cpp:5:20: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | ln n, m, a[1e6], t[1e6], k;
| ^~~
routine.cpp:5:20: error: could not convert ‘1.0e+6’ from ‘double’ to ‘long unsigned int’
routine.cpp:5:20: error: size of array ‘t’ has non-integral type ‘double’