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 02:42Joad NacerJoad NacerScore: 5,495Success
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 02:425,44840,527,66916,409,0001,025,0002,289,664
2Apr 17, 2024 02:425,45438,942,33916,428,0001,026,0002,289,664
3Apr 17, 2024 02:425,46738,564,49216,464,0001,029,0002,273,280
4Apr 17, 2024 02:425,47038,615,09316,474,0001,029,0002,281,472
5Apr 17, 2024 02:425,48439,822,18616,517,0001,032,0002,371,584
6Apr 17, 2024 02:425,48942,457,29216,533,0001,033,0002,269,184
7Apr 17, 2024 02:425,49536,423,44416,551,0001,034,0002,289,664
8Apr 17, 2024 02:425,49643,389,30816,553,0001,034,0002,277,376
9Apr 17, 2024 02:425,51243,761,74516,601,0001,037,0002,289,664
10Apr 17, 2024 02:425,68675,917,77418,195,15102,301,952
11Apr 17, 2024 02:425,69994,777,10518,235,27102,301,952
12Apr 17, 2024 02:425,75378,982,53818,410,57102,297,856