Borderou de evaluare (job #2584040)

Utilizator Tudor06MusatTudor Tudor06 Data 18 martie 2020 15:13:58
Problema Asi Status done
Runda FMI No Stress 9 Warmup Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:10: error: expected initializer before 'v' long lon v[CIUR_MAX]; ^ main.cpp: In function 'void calc_ciur()': main.cpp:23:17: error: 'v' was not declared in this scope v[n ++] = aux; ^ main.cpp:28:11: error: 'v' was not declared in this scope sort( v, v + n ); ^ main.cpp: In function 'int cb(long long int)': main.cpp:37:14: error: 'v' was not declared in this scope if ( v[mij] > x ) ^ main.cpp: In function 'int main()': main.cpp:65:14: error: invalid operands of types 'FILE* {aka _IO_FILE*}' and 'int' to binary 'operator<<' fout << cb( b ) - cb( a - 1 ) << endl; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:65:25: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] fout << cb( b ) - cb( a - 1 ) << endl; ~~~~~~~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?