What is the difference in those c++ and go codes?

Правка en1, от EROR, 2016-05-12 18:34:22

In a previous contest i tried to solve a problem using go. After getting some WA i was able to solve this using C++. Now I am curious what is the logical difference in those two code, c++(17785256) and go(17798325). I couldn't find any.

The input that gives the go solution a WA, works fine and produces the AC output in here and in my workstation. I am using go1.6.2, where CF uses 1.5.2.

Is there anything wrong in my go submission? or is it a CF BUG?

Теги c++, go

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский EROR 2016-05-12 18:34:22 568 Initial revision (published)