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:36Joad NacerJoad NacerScore: 5,478Success
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:365,44741,715,80716,406,0001,025,0002,269,184
2Apr 17, 2024 00:365,44945,636,87916,413,0001,025,0002,289,664
3Apr 17, 2024 00:365,45244,851,21816,421,0001,026,0002,289,664
4Apr 17, 2024 00:365,45744,892,15316,435,0001,027,0002,289,664
5Apr 17, 2024 00:365,47138,162,30816,479,0001,029,0002,289,664
6Apr 17, 2024 00:365,47738,817,76916,495,0001,030,0002,289,664
7Apr 17, 2024 00:365,47844,036,11216,497,0001,031,0002,289,664
8Apr 17, 2024 00:365,48134,956,83316,507,0001,031,0002,281,472
9Apr 17, 2024 00:365,49037,084,75616,534,0001,033,0002,289,664
10Apr 17, 2024 00:365,70468,577,47218,251,82202,301,952
11Apr 17, 2024 00:365,73179,374,70018,337,72602,297,856
12Apr 17, 2024 00:365,73581,490,12418,352,20402,297,856