Borderou de evaluare (job #2517493)

Utilizator OkaRinOkabe Rintaro OkaRin Data 3 ianuarie 2020 17:31:44
Problema Concert2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:18:76: error: lvalue required as left operand of assignment if(v[i] > v[j] && v[i]=!v[j] && cmb[i]<cmb[j]+1 && crs[j]!=k1) ^~ main.cpp:15:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 2 ; i<= N ; ++i ) ^~~ main.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(int i = 1 ; i<= N ; ++i ) ^~~ main.cpp:8:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("concert2.in" , "r" , stdin ); ^ main.cpp:9:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("concert2.out" , "w" , stdout ); ^ main.cpp:10:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &N , &k1 , &k2 ); ^ main.cpp:12:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &v[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?