Borderou de evaluare (job #2360329)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 1 martie 2019 18:34:04
Problema NREcou 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:44:16: error: 'sgn' was not declared in this scope if(sgn[i] == 1){ ^~~ main.cpp:59:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int*' [-Wformat=] fprintf(g,"%lld",ans); ^ main.cpp:38:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ Non zero exit status: 1

Ceva nu functioneaza?