Cin/Cout w/o Sync is much slower than Scanf/Printf

Правка en1, от Hamroz_JONN, 2022-12-13 18:50:45

First submission with Cin/Cout w/o Sync: 185094688, 3915 ms

Second one with Scanf/Printf: 185094426, 1357 ms

Shouldn't that be exactly the opposite ?

Because almost everywhere its mentioned that Cin/Cout w/o Sync should be faster, or at least same speed as Scanf/Printf.

Why is it so ?

Теги cin/cout, scanf/printf, sync, slow

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Hamroz_JONN 2022-12-13 18:50:45 402 Initial revision (published)