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 5, 2021 05:26Ilya AniskovetsIlya AniskovetsScore: 5,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:265,46239,998,81816,451,0001,028,0002,289,664
2Sep 5, 2021 05:265,47038,377,94216,474,0001,029,0002,289,664
3Sep 5, 2021 05:265,47840,005,96216,499,0001,031,0002,289,664
4Sep 5, 2021 05:265,49033,740,22215,616,0001,952,0002,289,664
5Sep 5, 2021 05:265,49737,023,17616,555,0001,034,0002,289,664
6Sep 5, 2021 05:265,50948,521,98216,592,0001,037,0002,289,664
7Sep 5, 2021 05:265,51152,909,69116,599,0001,037,0002,289,664
8Sep 5, 2021 05:265,51233,977,50716,600,0001,037,0002,277,376
9Sep 5, 2021 05:265,52143,779,01417,668,00002,289,664
10Sep 5, 2021 05:265,65088,245,47318,079,73702,174,976
11Sep 5, 2021 05:265,65278,949,37518,086,94702,183,168
12Sep 5, 2021 05:265,66567,632,16818,128,94002,297,856