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 2, 2021 22:22Yuriy LyfenkoYuriy LyfenkoScore: 5,032Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 22:224,994542,825,63414,984,000998,0002,281,472
2Jun 2, 2021 22:224,996544,426,80713,989,0001,998,0002,404,352
3Jun 2, 2021 22:225,001536,995,31914,003,0002,000,0002,273,280
4Jun 2, 2021 22:225,002538,581,96915,006,0001,000,0002,273,280
5Jun 2, 2021 22:225,012537,785,57614,033,0002,004,0002,273,280
6Jun 2, 2021 22:225,023540,768,73014,063,0002,009,0002,273,280
7Jun 2, 2021 22:225,032538,692,69414,090,0002,012,0002,281,472
8Jun 2, 2021 22:225,036540,058,15615,107,0001,007,0002,273,280
9Jun 2, 2021 22:225,055550,603,44216,176,00002,273,280
10Jun 2, 2021 22:225,154580,326,47716,492,17802,252,800
11Jun 2, 2021 22:225,164575,940,00916,523,78402,252,800
12Jun 2, 2021 22:225,196570,948,42616,627,43802,297,856