Borderou de evaluare (job #3238670)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 28 iulie 2024 19:56:57
Problema Bila Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:33:29: error: 'stdin' was not declared in this scope 33 | freopen("bila.in", "r", stdin); | ^~~~~ main.cpp:1:1: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? +++ |+#include <cstdio> 1 | const int nmax = 150; main.cpp:33:5: error: 'freopen' was not declared in this scope 33 | freopen("bila.in", "r", stdin); | ^~~~~~~ main.cpp:34:30: error: 'stdout' was not declared in this scope 34 | freopen("bila.out", "w", stdout); | ^~~~~~ main.cpp:34:30: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:35:5: error: 'cin' was not declared in this scope 35 | cin >> r >> c; | ^~~ main.cpp:39:5: error: 'memset' was not declared in this scope 39 | memset(d, -1, sizeof(d)); | ^~~~~~ main.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? +++ |+#include <cstring> 1 | const int nmax = 150; main.cpp:43:21: error: 'max' was not declared in this scope; did you mean 'nmax'? 43 | maxim = max(maxim, dfs(i, j)); | ^~~ | nmax main.cpp:56:5: error: 'cout' was not declared in this scope 56 | cout << maxim << " " << m[x][y] << "\n"; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?