Borderou de evaluare (job #2953037)

Utilizator vtvtvtvtvtvtvtvt vtvtvtvt Data 10 decembrie 2022 13:18:22
Problema Inv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:13: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 11 | int aib[2e+5+5]; | ~~~~^~ main.cpp:11:13: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:11:13: error: size of array 'aib' has non-integral type 'double' main.cpp: In function 'void update(int*, int)': main.cpp:15:10: warning: statement has no effect [-Wunused-value] 15 | for (i;i<=100000;i+=ub(i)) | ^ main.cpp: In function 'int read(int*, int)': main.cpp:23:10: warning: statement has no effect [-Wunused-value] 23 | for (i;i>0;i-=ub(i)) | ^ Non zero exit status: 1

Ceva nu functioneaza?