Problem | ippt |
---|---|
User | eee |
Submission Time | 2024-04-12 16:43:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ippt.cpp: In function ‘int main()’:
ippt.cpp:4:38: error: ‘a’ was not declared in this scope
4 | for (long long i = 0; i < 1e3; i++) a[i] = 1e18;
| ^
ippt.cpp:5:14: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
5 | long long a[1e3];
| ^~~
ippt.cpp:5:14: error: could not convert ‘1.0e+3’ from ‘double’ to ‘long unsigned int’
ippt.cpp:5:14: error: size of array ‘a’ has non-integral type ‘double’