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 listDec 22, 2023 18:09Yuriy LyfenkoYuriy LyfenkoScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 18:095,0141,037,579,541203,289,00082,523,000266,915,840
2Dec 22, 2023 18:095,0271,033,535,962195,607,00090,957,000266,903,552
3Dec 22, 2023 18:095,0421,031,755,673210,874,00076,493,000266,772,480
4Dec 22, 2023 18:095,0441,038,348,732209,103,00078,413,000266,850,304
5Dec 22, 2023 18:095,0511,038,880,063196,383,00091,508,000266,883,072
6Dec 22, 2023 18:095,0561,358,892,152288,183,6330266,944,512
7Dec 22, 2023 18:095,0711,046,539,112171,266,000117,807,000266,911,744
8Dec 22, 2023 18:095,1171,509,263,268291,660,1540264,499,200
9Dec 22, 2023 18:095,1471,527,236,796293,365,9640263,860,224
10Dec 22, 2023 18:095,1831,044,941,328207,429,00088,030,000266,895,360
11Dec 22, 2023 18:095,1901,046,267,361171,894,000123,924,000266,956,800
12Dec 22, 2023 18:095,2601,062,554,926201,916,00097,929,000266,612,736