Borderou de evaluare (job #625375)

Utilizator avatar mateitudordm Matei Tudor dumitru mateitudordm IP ascuns
Problemă Sum Update & Query (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 ian. 2022 12:41:30 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:18: error: conversion from 'double' to 'unsigned int' in a converted constant expression 9 | int aint[3.5 * nmax], lazy[3.5 * nmax]; | ^ main.cpp:9:18: error: could not convert '(3.5e+0 * (double)300001)' from 'double' to 'unsigned int' 9 | int aint[3.5 * nmax], lazy[3.5 * nmax]; | ^ | | | double main.cpp:9:18: error: size of array 'aint' has non-integral type 'double' main.cpp:9:36: error: conversion from 'double' to 'unsigned int' in a converted constant expression 9 | int aint[3.5 * nmax], lazy[3.5 * nmax]; | ^ main.cpp:9:36: error: could not convert '(3.5e+0 * (double)300001)' from 'double' to 'unsigned int' 9 | int aint[3.5 * nmax], lazy[3.5 * nmax]; | ^ | | | double main.cpp:9:36: error: size of array 'lazy' has non-integral type 'double'