0_0_39565245_14364.cpp: In function 'int main()': 0_0_39565245_14364.cpp:37:17: error: 'res' was not declared in this scope 37 | res = tot + cnt[1] + cnt[2] + (cnt[3] - cnt[2]) / 2; | ^~~