Borderou de evaluare (job #2435920)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 4 iulie 2019 14:17:48
Problema Supersenzor Status done
Runda Junior Challenge 2019 Runda 2 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:47:59: error: expected ';' before numeric constant for (int fi = a[i] + 100; fi >= k 0 && fi >= a[i] - 100; fi--) ^ main.cpp:47:61: warning: for increment expression has no effect [-Wunused-value] for (int fi = a[i] + 100; fi >= k 0 && fi >= a[i] - 100; fi--) ~~^~~~~~~~~~~~~~~~~~~ main.cpp:47:80: error: expected ')' before ';' token for (int fi = a[i] + 100; fi >= k 0 && fi >= a[i] - 100; fi--) ^ main.cpp:47:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int fi = a[i] + 100; fi >= k 0 && fi >= a[i] - 100; fi--) ^~~ main.cpp:47:82: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int fi = a[i] + 100; fi >= k 0 && fi >= a[i] - 100; fi--) ^~ main.cpp:47:82: error: 'fi' was not declared in this scope main.cpp:48:59: error: 'sc' was not declared in this scope for (int sc = a[j] + 100; sc >=k && sc >= a[j] - 100; sc--) ^~ main.cpp:43:13: warning: unused variable 'nax' [-Wunused-variable] int nax = 100; ^~~ Non zero exit status: 1

Ceva nu functioneaza?