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 listJan 13, 2024 08:22matsuoka-601matsuoka-601Score: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:225,57846,758,91015,867,0001,983,0002,269,184
2Jan 13, 2024 08:225,57850,397,18616,859,000991,0002,269,184
3Jan 13, 2024 08:225,57947,332,52116,861,000991,0002,289,664
4Jan 13, 2024 08:225,58234,346,57416,870,000992,0002,273,280
5Jan 13, 2024 08:225,58245,102,80416,871,000992,0002,289,664
6Jan 13, 2024 08:225,58337,470,68516,872,000992,0002,387,968
7Jan 13, 2024 08:225,58353,512,54317,864,00002,289,664
8Jan 13, 2024 08:225,58338,119,15815,880,0001,985,0002,289,664
9Jan 13, 2024 08:225,58546,818,08115,886,0001,985,0002,289,664
10Jan 13, 2024 08:225,64078,120,13418,048,32302,301,952
11Jan 13, 2024 08:225,65787,031,96818,101,64302,293,760
12Jan 13, 2024 08:225,67794,157,84018,166,66902,301,952