Borderou de evaluare (job #2604320)

Utilizator giotoPopescu Ioan gioto Data 22 aprilie 2020 14:24:29
Problema Popcorn Status done
Runda igorj_11 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void build(int, int, int)': main.cpp:38:28: error: narrowing conversion of '-2.0e+9' from 'double' to 'long long int' inside { } [-Wnarrowing] segTree[nod] = {-2e9, 0}; ^ main.cpp: In function 'int main()': main.cpp:146:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("popcorn.in", "r", stdin); ^ main.cpp:147:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("popcorn.out", "w", stdout); ^ main.cpp:149:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:151:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a[i].x, &a[i].y, &a[i].c); ^ Non zero exit status: 1

Ceva nu functioneaza?