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 16, 2024 23:55Joad NacerJoad NacerScore: 5,626Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 23:555,58736,026,84016,886,000993,0002,289,664
2Apr 16, 2024 23:555,59733,754,07315,920,0001,990,0002,281,472
3Apr 16, 2024 23:555,59840,603,98515,925,0001,990,0002,277,376
4Apr 16, 2024 23:555,60944,460,51415,954,0001,994,0002,289,664
5Apr 16, 2024 23:555,61844,991,62315,981,0001,997,0002,273,280
6Apr 16, 2024 23:555,61939,448,05615,983,0001,997,0002,387,968
7Apr 16, 2024 23:555,62636,974,55017,002,0001,000,0002,289,664
8Apr 16, 2024 23:555,62637,266,06716,004,0002,000,0002,277,376
9Apr 16, 2024 23:555,62841,000,86017,010,0001,000,0002,293,760
10Apr 16, 2024 23:555,71290,851,34518,277,14102,306,048
11Apr 16, 2024 23:555,74194,768,57918,372,11602,293,760
12Apr 16, 2024 23:555,747107,422,65818,389,91602,301,952