Global funtion() consumes less time than class member function() !

Правка en1, от Parvej, 2022-06-07 11:39:05

Today I was solving this problem.

I made two similar submissions.

Sub1 used class ( TLE ).

Sub2 exact same code without class ( AC ).

I can't understand why making the functions and variables as class's member consuming so much time?

I have googled but didn't find anything written about it.

Теги c++, class, fft

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Parvej 2022-06-07 11:39:05 540 Initial revision (published)