Borderou de evaluare (job #2476744)

Utilizator robert.barbu27robert barbu robert.barbu27 Data 19 octombrie 2019 11:18:46
Problema Sec 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:117:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(v[i]>v[stiva[cnt]]&&cnt>0) ^~~~~ main.cpp:119:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' cnt++; ^~~ main.cpp:161:5: error: 'else' without a previous 'if' else ^~~~ main.cpp:164:23: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ main.cpp:166:21: error: 'k' was not declared in this scope int coord=i-k+1; ^ main.cpp:166:13: warning: unused variable 'coord' [-Wunused-variable] int coord=i-k+1; ^~~~~ main.cpp: At global scope: main.cpp:266:1: error: expected declaration before '}' token } ^ main.cpp: In member function 'char InParser::read_ch()': main.cpp:28:50: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, 4096, fin); ^ Non zero exit status: 1

Ceva nu functioneaza?