Borderou de evaluare (job #2790358)
Utilizator | Data | 28 octombrie 2021 20:41:59 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:18: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
8 | vector<int>a[1e7 + 5];
| ~~~~^~~
main.cpp:8:18: error: could not convert '(1.0e+7 + (double)5)' from 'double' to 'long unsigned int'
main.cpp:8:18: error: size of array 'a' has non-integral type 'double'
main.cpp: In function 'int Find(int)':
main.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 0; i < a[value].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !