AlexeyDmitriev / JHelper

GNU Lesser General Public License v3.0
119 stars 31 forks source link

Strange russian code generation #96

Closed emli closed 5 years ago

emli commented 5 years ago

Sometimes Jhelper generating such code. std::ifstream in("стандартный ввод"); std::ofstream out("стандартный вывод"); solver.solve(in, out);

emli commented 5 years ago

https://github.com/emli/competitive/blob/master/output/main.cpp

emli commented 5 years ago

Discovered bug. It happens only when I was switched to Russian version of codeforces

AlexeyDmitriev commented 5 years ago

I got this today too, I'll investigate

AlexeyDmitriev commented 5 years ago

So, as far as I understand, the issue is in Competitive companion plugin. I raised an issue there(jmerle/competitive-companion#14). Meanwhile, you can use Chelper plugin or english version of CF

jmerle commented 5 years ago

I merged Alexey's patch and published Competitive Companion 2.4.1 to the Chrome Web Store and Mozilla's AMO. Depending on your browser it can take up to 24 hours until it automatically updates the extension.