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 listApr 17, 2024 00:35Joad NacerJoad NacerScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:355,44941,692,55217,438,00002,289,664
2Apr 17, 2024 00:355,45342,847,06516,422,0001,026,0002,289,664
3Apr 17, 2024 00:355,45533,498,87016,430,0001,026,0002,277,376
4Apr 17, 2024 00:355,45840,287,11816,440,0001,027,0002,289,664
5Apr 17, 2024 00:355,46835,531,86116,468,0001,029,0002,289,664
6Apr 17, 2024 00:355,46838,060,67516,470,0001,029,0002,289,664
7Apr 17, 2024 00:355,48634,305,67516,524,0001,032,0002,281,472
8Apr 17, 2024 00:355,49035,602,39616,536,0001,033,0002,289,664
9Apr 17, 2024 00:355,50640,871,63217,619,00002,269,184
10Apr 17, 2024 00:355,68692,254,29718,194,92302,301,952
11Apr 17, 2024 00:355,68898,873,63018,201,40102,183,168
12Apr 17, 2024 00:355,68977,753,37418,203,52002,301,952