Problem strikes
User Reverberate
Submission Time 2023-12-16 19:39:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

strikes.cpp:4:15: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | #define MAX_N 1e9
| ^~~
strikes.cpp:7:16: note: in expansion of macro ‘MAX_N’
7 | vector<int>adj[MAX_N];
| ^~~~~
strikes.cpp:4:15: error: could not convert ‘1.0e+9’ from ‘double’ to ‘long unsigned int’
4 | #define MAX_N 1e9
| ^~~
strikes.cpp:7:16: note: in expansion of macro ‘MAX_N’
7 | vector<int>adj[MAX_N];
| ^~~~~
strikes.cpp:4:15: error: size of array ‘adj’ has non-integral type ‘double’
4 | #define MAX_N 1e9
| ^~~
strikes.cpp:7:16: note: in expansion of macro ‘MAX_N’
7 | vector<int>adj[MAX_N];
| ^~~~~
strikes.cpp:4:15: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | #define MAX_N 1e9
|