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 listJan 2, 2023 17:31Hal FHal FScore: 4,815Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:314,77436,700,27613,240,0002,036,0002,535,424
2Jan 2, 2023 17:314,78034,171,94813,258,0002,039,0002,289,664
3Jan 2, 2023 17:314,78338,829,30614,284,0001,020,0002,269,184
4Jan 2, 2023 17:314,79242,826,22613,291,0002,044,0002,289,664
5Jan 2, 2023 17:314,79435,054,02314,320,0001,022,0002,281,472
6Jan 2, 2023 17:314,80342,114,15013,321,0002,049,0002,289,664
7Jan 2, 2023 17:314,81535,340,56713,354,0002,054,0002,379,776
8Jan 2, 2023 17:314,82929,668,59213,393,0002,060,0002,363,392
9Jan 2, 2023 17:314,83638,840,24013,413,0002,063,0002,289,664
10Jan 2, 2023 17:315,00196,737,82816,002,79902,301,952
11Jan 2, 2023 17:315,02682,640,02316,082,57802,289,664
12Jan 2, 2023 17:315,052105,386,10216,167,71702,301,952