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