Borderou de evaluare (job #2843105)

Utilizator cezar.balutaCezar Baluta cezar.baluta Data 1 februarie 2022 23:22:42
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:24:13: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 24 | int tati[2e5+5]; | ~~~^~ main.cpp:24:13: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:24:13: error: size of array 'tati' has non-integral type 'double' main.cpp:25:21: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 25 | int stramosi[10][2e5+5]; | ~~~^~ main.cpp:25:21: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:25:21: error: size of array 'stramosi' has non-integral type 'double' main.cpp:26:17: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 26 | vector<int>a[2e5+5]; | ~~~^~ main.cpp:26:17: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:26:17: error: size of array 'a' has non-integral type 'double' main.cpp:27:14: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 27 | int nivel[2e5+5]; | ~~~^~ main.cpp:27:14: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:27:14: error: size of array 'nivel' has non-integral type 'double' main.cpp:28:11: error: conversion from 'double' to 'long unsigned int' in a converted constant expression 28 | int dp[2e5+5]; | ~~~^~ main.cpp:28:11: error: could not convert '(2.0e+5 + (double)5)' from 'double' to 'long unsigned int' main.cpp:28:11: error: size of array 'dp' has non-integral type 'double' Non zero exit status: 1

Ceva nu functioneaza?