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:49Joad NacerJoad NacerScore: 5,470Success
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:495,44538,640,36717,424,00002,289,664
2Apr 17, 2024 00:495,45553,022,90617,455,00002,273,280
3Apr 17, 2024 00:495,45933,311,06216,441,0001,027,0002,289,664
4Apr 17, 2024 00:495,46235,236,21315,422,0002,056,0002,269,184
5Apr 17, 2024 00:495,46243,197,79016,450,0001,028,0002,289,664
6Apr 17, 2024 00:495,46334,087,13016,453,0001,028,0002,269,184
7Apr 17, 2024 00:495,47043,657,61717,503,00002,289,664
8Apr 17, 2024 00:495,47339,184,23517,514,00002,289,664
9Apr 17, 2024 00:495,47438,193,73116,488,0001,030,0002,289,664
10Apr 17, 2024 00:495,68370,993,58218,185,12202,252,800
11Apr 17, 2024 00:495,68795,073,58618,198,45002,252,800
12Apr 17, 2024 00:495,68783,022,44518,199,21602,179,072