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 listSep 14, 2024 22:53Dmitrii KravchenkoDmitrii KravchenkoScore: 5,610Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2024 22:535,58644,309,87814,896,0002,979,0002,281,472
2Sep 14, 2024 22:535,59242,128,64414,913,0002,982,0002,281,472
3Sep 14, 2024 22:535,60141,453,10315,931,0001,991,0002,289,664
4Sep 14, 2024 22:535,60839,527,30513,959,0003,988,0002,277,376
5Sep 14, 2024 22:535,61035,641,79114,960,0002,992,0002,281,472
6Sep 14, 2024 22:535,61233,798,24815,962,0001,995,0002,281,472
7Sep 14, 2024 22:535,62443,857,38413,998,0003,999,0002,273,280
8Sep 14, 2024 22:535,64342,719,49215,048,0003,009,0002,269,184
9Sep 14, 2024 22:535,65744,569,77913,074,0005,028,0002,293,760