Borderou de evaluare (job #2912271)
Utilizator | Data | 7 iulie 2022 18:55:15 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:15: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
main.cpp:5:14: error: could not convert '(5.0e+6 + (double)5)' from 'double' to 'long unsigned int'
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:15: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
main.cpp:5:14: error: size of array 'q' has non-integral type 'double'
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:15: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
main.cpp:5:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:20: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
main.cpp:5:14: error: could not convert '(5.0e+6 + (double)5)' from 'double' to 'long unsigned int'
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:20: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
main.cpp:5:14: error: size of array 'a' has non-integral type 'double'
5 | #define N 5e6+5
| ~~~^~
main.cpp:6:20: note: in expansion of macro 'N'
6 | int n,k,i,j,q[N],a[N],l,r;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !