Borderou de evaluare (job #2210366)
Utilizator | Data | 6 iunie 2018 13:24:10 | |
---|---|---|---|
Problema | Secventa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:19: error: narrowing conversion of ‘-1.0e+5’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
ELEM maxx={-1e5, 0};
^
user.cpp: In function ‘int main()’:
user.cpp:19:27: warning: narrowing conversion of ‘nr’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
deck.push_back({nr, i});
^
user.cpp:19:27: warning: narrowing conversion of ‘i’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:13:26: warning: unused variable ‘s’ [-Wunused-variable]
long long n, k, i, nr, s=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !