Borderou de evaluare (job #2951398)

Utilizator Alex_DumitrascuAlex Dumitrascu Alex_Dumitrascu Data 6 decembrie 2022 10:30:24
Problema CMMDC 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:19:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 19 | fscanf(fin, "%d%d", &a, &b); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:19:21: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] 19 | fscanf(fin, "%d%d", &a, &b); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:21:5: error: 'fprlong' was not declared in this scope; did you mean 'ulong'? 21 | fprlong longf(fout, "%d", div); | ^~~~~~~ | ulong main.cpp:20:15: warning: unused variable 'div' [-Wunused-variable] 20 | long long div=cmmdc(a, b); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?