Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJan 25, 2025 07:48Cameron AavikCameron AavikScore: 5,760Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:485,75246,233,80817,384,0001,022,0002,297,856
2Jan 25, 2025 07:485,76035,112,29917,408,0001,024,0002,531,328
3Jan 25, 2025 07:485,78243,076,44916,447,0002,055,0002,289,664