Fizz Buzz Sergey Svistunov

Perform FizzBuzz on a stream of binary integers as fast as possible.

Input: 30 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: For each number n, print one line:

  • FizzBuzz if n is divisible by both 3 and 5
  • Fizz if n is divisible by 3
  • Buzz if n is divisible by 5
  • n as a decimal string otherwise
Back to listJun 21, 2024 16:53matsuoka-601matsuoka-601Score: 4,872Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2024 16:534,364560,420,721248,746,4670267,644,928
2Jun 21, 2024 16:534,376584,220,578249,434,9380265,797,632
3Jun 21, 2024 16:534,457554,894,978254,074,8500265,785,344
4Jun 21, 2024 16:534,869518,358,609207,392,00070,147,000267,808,768
5Jun 21, 2024 16:534,870513,101,505204,400,00073,218,000267,939,840
6Jun 21, 2024 16:534,872506,279,577208,508,00069,168,000268,013,568
7Jun 21, 2024 16:534,872512,363,232206,744,00070,941,000268,025,856
8Jun 21, 2024 16:534,894527,696,791203,876,00075,059,000267,902,976
9Jun 21, 2024 16:534,904523,570,422200,761,00078,767,000267,894,784
10Jun 21, 2024 16:534,930538,860,186202,008,00079,003,000267,911,168
11Jun 21, 2024 16:534,942530,749,447206,727,00074,989,000268,013,568
12Jun 21, 2024 16:534,951531,886,317206,353,00075,865,000267,833,344