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 13:25Dmitrii KravchenkoDmitrii KravchenkoScore: 45,879Success
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 13:2545,813177,317,264145,599,0001,004,0002,277,376
2Sep 14, 2024 13:2545,829173,898,581145,648,0001,004,0002,273,280
3Sep 14, 2024 13:2545,833173,195,483145,662,0001,004,0002,265,088
4Sep 14, 2024 13:2545,873169,787,596144,797,0001,997,0002,277,376
5Sep 14, 2024 13:2545,879179,860,475144,817,0001,997,0002,531,328
6Sep 14, 2024 13:2545,883178,502,057145,827,000998,0002,277,376
7Sep 14, 2024 13:2545,883174,245,004144,829,0001,997,0002,273,280
8Sep 14, 2024 13:2545,884179,399,428146,829,00002,277,376
9Sep 14, 2024 13:2545,905175,698,787144,897,0001,998,0002,277,376