Borderou de evaluare (job #3243197)

Utilizator comanandreiComan Andrei comanandrei Data 16 septembrie 2024 15:41:03
Problema Joctv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: cc1plus: error: '::main' must return 'int' main.cpp: In function 'int main()': main.cpp:18:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 18 | fscanf(fin, "%d", &n); | ~^ ~~ | | | | | long long int* | int* | %lld main.cpp:21:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 21 | fscanf(fin, "%d", &mat[lin][col]); | ~^ ~~~~~~~~~~~~~~ | | | | | long long int* | int* | %lld main.cpp:42:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 42 | fprintf(fout, "%d", maxtot); | ~^ ~~~~~~ | | | | int long long int | %lld Non zero exit status: 1

Ceva nu functioneaza?