Borderou de evaluare (job #2387625)

Utilizator EuAlexOtaku Hikikomori EuAlex Data 24 martie 2019 22:17:26
Problema Antivirus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:17: error: 'INT_MAX' was not declared in this scope const int inf = INT_MAX; ^~~~~~~ main.cpp: In function 'int main()': main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("antivirus.in", "r", stdin); ^ main.cpp:15:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("antivirus.out", "w", stdout); ^ main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:26:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k_nev); ^ main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?