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 listJan 21, 2024 21:21Yuriy LyfenkoYuriy LyfenkoScore: 4,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 21:214,7141,169,542,221268,696,2480268,050,432
2Jan 21, 2024 21:214,7691,181,775,491271,811,5330267,034,624
3Jan 21, 2024 21:214,8231,142,247,013203,440,00071,452,000265,879,552
4Jan 21, 2024 21:214,8331,137,866,340199,258,00076,246,000265,601,024
5Jan 21, 2024 21:214,8381,143,903,836199,164,00076,601,000264,376,320
6Jan 21, 2024 21:214,8391,147,645,237199,698,00076,122,000264,531,968
7Jan 21, 2024 21:214,8501,139,314,376208,560,00067,880,000265,195,520
8Jan 21, 2024 21:214,8511,133,515,009208,620,00067,900,000265,392,128
9Jan 21, 2024 21:214,8521,222,053,019276,567,5260267,935,744
10Jan 21, 2024 21:214,8591,140,249,119207,969,00068,974,000263,634,944
11Jan 21, 2024 21:214,8941,143,604,064211,770,00067,196,000265,109,504
12Jan 21, 2024 21:214,9271,153,542,215199,097,00081,754,000264,724,480