| Problem | consultation |
|---|---|
| User | Rayn |
| Submission Time | 2026-11-05 09:18:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
consultation.cpp:4:15: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | long long n,a[1e5];
| ^~~
consultation.cpp:4:15: error: could not convert ‘1.0e+5’ from ‘double’ to ‘long unsigned int’
consultation.cpp:4:15: error: size of array ‘a’ has non-integral type ‘double’
consultation.cpp: In function ‘bool check(long long int)’:
consultation.cpp:7:5: error: ‘sum’ was not declared in this scope
7 | sum = 0;
| ^~~
consultation.cpp: In function ‘int main()’:
consultation.cpp:20:14: error: ‘m’ was not declared in this scope
20 | cin >> n >> m;
| ^
consultation.cpp:21:22: error: ‘q’ was not declared in this scope
21 | for (int i = 0; i < q; i++) {
| ^