Borderou de evaluare (job #2071114)

Utilizator amaliarebAmalia Rebegea amaliareb Data 20 noiembrie 2017 12:16:46
Problema Hamster Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:27:13: error: ‘maxN’ was not declared in this scope long long d[maxN][maxN], l[maxN]; ^ user.cpp:27:19: error: ‘maxN’ was not declared in this scope long long d[maxN][maxN], l[maxN]; ^ user.cpp:27:28: error: ‘maxN’ was not declared in this scope long long d[maxN][maxN], l[maxN]; ^ user.cpp: In function ‘int cautbin(int, long long int)’: user.cpp:41:29: error: ‘d’ was not declared in this scope if(rez + pas < G && d[G][rez + pas] > L) rez += pas; ^ user.cpp: In function ‘int main()’: user.cpp:53:34: error: ‘l’ was not declared in this scope for (int i = 1; i <= n; i++) l[i] = read(); ^ user.cpp:54:5: error: ‘d’ was not declared in this scope d[1][1] = 1; ^ user.cpp:55:5: error: ‘l’ was not declared in this scope l[0] = l[1] - 1; ^ user.cpp: In function ‘char nextch()’: user.cpp:12:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if(pos==BUF_SIZE) fread(buf, BUF_SIZE, 1, f), pos=0; ^

Ceva nu functioneaza?