Borderou de evaluare (job #668754)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divprimi (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 oct. 2022 08:52:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:10: error: conversion from 'double' to 'unsigned int' in a converted constant expression
10 | int v[1e3+1], c[NMAX+1];
| ~~~^~
main.cpp:10:10: error: could not convert '(1.0e+3 + (double)1)' from 'double' to 'unsigned int'
10 | int v[1e3+1], c[NMAX+1];
| ~~~^~
| |
| double
main.cpp:10:10: error: size of array 'v' has non-integral type 'double'