Borderou de evaluare (job #1985792)

Utilizator UAIC_Mancas_Guraliuc_MihailaMancasGuraliucMihaila UAIC_Mancas_Guraliuc_Mihaila Data 28 mai 2017 11:07:26
Problema Mobs Status done
Runda ACM ICPC Faza Nationala 2017 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:18:20: error: ‘INT_MAX’ was not declared in this scope int mina = INT_MAX - 1, minb = INT_MAX; ^ user.cpp:29:21: error: ‘minb’ was not declared in this scope minb = mina, mina = h; ^ user.cpp:30:29: error: ‘minb’ was not declared in this scope else if(h < minb) ^ user.cpp:39:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < A.size() && j < B.size()) { ^ user.cpp:39:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < A.size() && j < B.size()) { ^ user.cpp:44:78: error: ‘minb’ was not declared in this scope if((A.size() - i) > 0 && (A.size() - i) % 2 == 0 && mina == a + b && minb == b * 2) ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mobs.in", "rt", stdin); ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mobs.out", "wt", stdout); ^ user.cpp:17:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &a, &b); ^ user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &h); ^

Ceva nu functioneaza?