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 listJun 3, 2021 16:06Yuriy LyfenkoYuriy LyfenkoScore: 5,090Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:065,023538,623,34915,070,0001,004,0002,273,280
2Jun 3, 2021 16:065,059546,165,63816,189,00002,281,472
3Jun 3, 2021 16:065,064539,212,06915,193,0001,012,0002,273,280
4Jun 3, 2021 16:065,066543,827,08015,199,0001,013,0002,273,280
5Jun 3, 2021 16:065,087537,611,39816,278,00002,273,280
6Jun 3, 2021 16:065,087539,049,75815,261,0001,017,0002,273,280
7Jun 3, 2021 16:065,090540,144,96516,287,00002,281,472
8Jun 3, 2021 16:065,096547,451,55516,307,00002,281,472
9Jun 3, 2021 16:065,123538,659,80116,393,00002,273,280
10Jun 3, 2021 16:065,189571,854,26716,604,81902,252,800
11Jun 3, 2021 16:065,196573,340,36916,627,86402,289,664
12Jun 3, 2021 16:065,226581,834,31316,723,11002,281,472