Borderou de evaluare (job #2835054)

Utilizator divadddDavid Curca divaddd Data 17 ianuarie 2022 23:32:02
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solve()': main.cpp:66:27: error: 'max' was not declared in this scope; did you mean 'fmax'? 66 | ans = max(ans, gcdTemp); | ^~~ | fmax main.cpp: In function 'int main()': main.cpp:78:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 78 | fscanf(fin, "%d", t); | ~^ ~ | | | | | int | int* main.cpp:80:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 80 | fscanf(fin, "%d %d %d %d", n, m, h, w); | ~^ ~ | | | | int* int main.cpp:80:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] 80 | fscanf(fin, "%d %d %d %d", n, m, h, w); | ~^ ~ | | | | int* int main.cpp:80:29: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=] 80 | fscanf(fin, "%d %d %d %d", n, m, h, w); | ~^ ~ | | | | int* int main.cpp:80:32: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'int' [-Wformat=] 80 | fscanf(fin, "%d %d %d %d", n, m, h, w); | ~^ ~ | | | | int* int main.cpp:83:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 83 | fscanf(fin, "%d", v[0][0][j][k]); | ~^ ~~~~~~~~~~~~~ | | | | int* int Non zero exit status: 1

Ceva nu functioneaza?