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 listJul 28, 2024 16:26Liam BuchananLiam BuchananScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 16:265,28933,099,91615,930,000995,0002,273,280
2Jul 28, 2024 16:265,29744,609,23415,954,000997,0002,535,424
3Jul 28, 2024 16:265,30734,209,46914,984,0001,997,0002,535,424
4Jul 28, 2024 16:265,31436,587,01116,006,0001,000,0002,514,944
5Jul 28, 2024 16:265,32844,779,44215,043,0002,005,0002,535,424
6Jul 28, 2024 16:265,33141,363,26016,055,0001,003,0002,273,280
7Jul 28, 2024 16:265,33636,152,13516,072,0001,004,0002,514,944
8Jul 28, 2024 16:265,33837,947,48916,076,0001,004,0002,273,280
9Jul 28, 2024 16:265,34139,959,93616,086,0001,005,0002,535,424
10Jul 28, 2024 16:265,53584,940,49817,713,20702,314,240
11Jul 28, 2024 16:265,54261,050,11617,734,49402,310,144
12Jul 28, 2024 16:265,54489,762,72817,739,96002,183,168