Блог пользователя mac_n_cheese_pog

Автор mac_n_cheese_pog, история, 3 года назад, По-английски

all this time i am actually trying to remember as many tricks as possible instead of trying to get it first.its like the case where a kid cant do multiplication because they dont know what it is.

an example of a trick i learned is getting total sum of input.for example we have an array

a[5]={1,2,3,4,5}

at first i do not know how to get the sum of the numbers of the array.eventually i searched about it on the internet.i found out that its possible by making an additional variable like int sum=0.(i found this out when i was a total newbie)

my problem is that wnever i attend a contest,i feel like the problem is very new and thus making me stuck.the problem seems very strange to me and i couldnt find a common trick to tackle the problem.and i always think my training became a waste since everytime i encounter a problem,its brand new.its no tlike a common topic like taking sum or maybe some formula.

i really need your perspective to overcome my problem

  • Проголосовать: нравится
  • -28
  • Проголосовать: не нравится