Is __gcd(x,y) slower that gcd(x,y)?

Правка en1, от copyPasteCoder, 2024-12-26 16:28:15

For the problem 2043D - Problem about GCD,

  • 298543362 — using $$$gcd$$$ function — gives AC (578 ms)
  • 298543382 — using __$$$gcd$$$ function — gives TLE

I was earlier told that by my friends and mentors that __gcd is faster than gcd. Can anyone tell where did I go wrong $$$?$$$

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский copyPasteCoder 2024-12-26 16:28:15 372 Initial revision (published)