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 listSep 26, 2023 09:49IhebIhebScore: 5,782Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 09:495,73439,272,39916,311,0002,038,0002,289,664
2Sep 26, 2023 09:495,73842,024,38716,320,0002,040,0002,265,088
3Sep 26, 2023 09:495,75845,154,26116,378,0002,047,0002,289,664
4Sep 26, 2023 09:495,77239,744,31617,443,0001,026,0002,289,664
5Sep 26, 2023 09:495,77940,634,25816,439,0002,054,0002,289,664
6Sep 26, 2023 09:495,78043,390,75318,497,00002,289,664
7Sep 26, 2023 09:495,78245,269,80917,474,0001,027,0002,383,872
8Sep 26, 2023 09:495,79345,208,83218,539,00002,289,664
9Sep 26, 2023 09:495,79539,386,09718,543,00002,289,664
10Sep 26, 2023 09:495,98874,802,40619,162,84202,297,856
11Sep 26, 2023 09:496,00177,144,39319,203,33902,301,952
12Sep 26, 2023 09:496,01094,623,09819,232,09402,297,856