| Problem | payraise |
|---|---|
| User | PlayVoltz |
| Submission Time | 2023-08-24 14:29:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
payraise.cpp:7:8: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
7 | ll pay[1e6];
| ^~~
payraise.cpp:7:8: error: could not convert ‘1.0e+6’ from ‘double’ to ‘long unsigned int’
payraise.cpp:7:8: error: size of array ‘pay’ has non-integral type ‘double’
payraise.cpp: In function ‘int main()’:
payraise.cpp:22:6: error: request for member ‘resize’ in ‘pay’, which is of non-class type ‘long long int [1]’
22 | pay.resize(n);
| ^~~~~~