rawbear1826's blog

By rawbear1826, history, 7 years ago, In English

java stream API is really cool addition to the java language (if you are a c++ hardcore fan please pass on this post :) ) i have tried to solve this problem and i tried multiple submission just to try out java stream API ... that submission was successful but this one wasn't and the only change is return a.parallelStream().allMatch(e -> e == a.get(0)); which was resulted in failure ... can anyone explain why e == a.get(0) didn't work but int c = a.get(0) and e == c did work ?

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it

By rawbear1826, 9 years ago, In English

I just wonder can codeforces add the compile and test option to the problems ... (i.e. before submitting the user can compile his solution and test it against the sample test) ?

please let me know if this feature is already there. Thanks.

UPD : I know that there exist some programs for automatic testing ... but i would like if this feature is in the website itself

Full text and comments »

  • Vote: I like it
  • +14
  • Vote: I do not like it