Borderou de evaluare (job #2589122)

Utilizator k2e0e0w3qDumitrescu Gheorghe k2e0e0w3q Data 25 martie 2020 20:19:20
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void go(long long int)': main.cpp:6:9: error: 'fprlong' was not declared in this scope fprlong longf (fout, "1 1\n"); ^~~~~~~ main.cpp:20:9: error: 'fprlong' was not declared in this scope fprlong longf (fout, "%d %d\n", ct, sum); ^~~~~~~ main.cpp: In function 'int main()': main.cpp:28:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf (fin, "%d", &n); ^ main.cpp:30:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf (fin, "%d", &x); ^ main.cpp:28:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &n); ^ main.cpp:30:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &x); ^ Non zero exit status: 1

Ceva nu functioneaza?