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 27, 2023 12:50Alexander FrolovAlexander FrolovScore: 6,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 12:506,630971,997,548377,884,3690263,118,848
2Dec 27, 2023 12:506,654886,193,860379,280,5690263,868,416
3Dec 27, 2023 12:506,702944,496,554382,014,8880264,785,920
4Dec 27, 2023 12:506,702633,843,966288,260,00093,759,000265,355,264
5Dec 27, 2023 12:506,728613,487,594302,038,00081,437,000265,490,432
6Dec 27, 2023 12:506,748621,617,793293,793,00090,863,000265,457,664
7Dec 27, 2023 12:506,781637,034,484294,421,00092,069,000264,204,288
8Dec 27, 2023 12:506,846620,636,204302,389,00087,856,000265,449,472
9Dec 27, 2023 12:506,907660,450,974312,017,00081,668,000264,912,896
10Dec 27, 2023 12:507,104764,696,897294,951,000109,981,000265,428,992
11Dec 27, 2023 12:507,117631,368,479294,961,000110,736,000265,535,488
12Dec 27, 2023 12:507,163669,749,996291,797,000116,519,000265,408,512