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 20:32Yuriy LyfenkoYuriy LyfenkoScore: 4,802Success
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 20:324,5891,164,260,006261,591,4560264,404,992
2Jan 21, 2024 20:324,6041,159,950,467262,442,7460267,386,880
3Jan 21, 2024 20:324,6401,157,979,666264,474,0080267,427,840
4Jan 21, 2024 20:324,7601,114,676,338209,676,00061,669,000267,808,768
5Jan 21, 2024 20:324,7861,118,143,134203,082,00069,714,000267,767,808
6Jan 21, 2024 20:324,7941,123,711,245212,415,00060,837,000267,862,016
7Jan 21, 2024 20:324,8021,126,101,804204,289,00069,438,000268,013,568
8Jan 21, 2024 20:324,8031,131,279,013203,299,00070,490,000267,821,056
9Jan 21, 2024 20:324,8311,130,219,175195,308,00080,076,000267,948,032
10Jan 21, 2024 20:324,8321,126,207,737204,262,00071,136,000267,866,112
11Jan 21, 2024 20:324,8381,147,393,517205,331,00070,456,000268,021,760
12Jan 21, 2024 20:324,8391,129,080,586198,610,00077,237,000267,821,056