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 listDec 18, 2023 19:15IhebIhebScore: 5,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2023 19:155,66640,784,55916,116,0002,014,0002,375,680
2Dec 18, 2023 19:155,66739,774,87516,120,0002,015,0002,289,664
3Dec 18, 2023 19:155,66835,469,24917,129,0001,007,0002,289,664
4Dec 18, 2023 19:155,70639,428,05616,231,0002,028,0002,289,664
5Dec 18, 2023 19:155,71040,972,63816,242,0002,030,0002,387,968
6Dec 18, 2023 19:155,71643,499,25016,260,0002,032,0002,289,664
7Dec 18, 2023 19:155,72539,212,22616,286,0002,035,0002,277,376
8Dec 18, 2023 19:155,72843,813,20616,292,0002,036,0002,289,664
9Dec 18, 2023 19:155,73146,543,43316,302,0002,037,0002,289,664
10Dec 18, 2023 19:155,837107,996,98118,678,60602,297,856
11Dec 18, 2023 19:155,88480,004,80418,829,90402,289,664
12Dec 18, 2023 19:155,93861,818,79619,000,74802,179,072