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 30, 2023 21:23Alexander FrolovAlexander FrolovScore: 6,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 21:235,512608,031,734314,164,2910266,846,208
2Dec 30, 2023 21:235,524617,894,718314,865,5080266,289,152
3Dec 30, 2023 21:235,556602,276,793316,716,7010266,129,408
4Dec 30, 2023 21:235,718580,650,411264,009,00061,940,000267,747,328
5Dec 30, 2023 21:235,739582,437,019251,710,00075,411,000267,739,136
6Dec 30, 2023 21:236,100588,868,241272,818,00074,871,000267,722,752
7Dec 30, 2023 21:236,159603,284,487250,484,000100,596,000267,653,120
8Dec 30, 2023 21:236,598624,811,699267,604,000108,461,000267,436,032
9Dec 30, 2023 21:236,684622,860,905283,687,00097,293,000267,640,832
10Dec 30, 2023 21:237,113635,047,475273,610,000131,812,000267,382,784
11Dec 30, 2023 21:237,307670,651,241290,670,000125,857,000267,530,240
12Dec 30, 2023 21:237,325669,678,158274,018,000143,533,000267,329,536