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 listJul 17, 2024 13:15Matt StuchlikMatt StuchlikScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 13:155,66835,512,62016,124,0002,015,0002,289,664
2Jul 17, 2024 13:155,68546,800,75216,171,0002,021,0002,289,664
3Jul 17, 2024 13:155,69946,139,74516,211,0002,026,0002,289,664
4Jul 17, 2024 13:155,70135,696,81016,216,0002,027,0002,281,472
5Jul 17, 2024 13:155,70544,385,79416,227,0002,028,0002,289,664
6Jul 17, 2024 13:155,71140,821,89517,261,0001,015,0002,289,664
7Jul 17, 2024 13:155,71439,224,46717,270,0001,015,0002,265,088
8Jul 17, 2024 13:155,73343,436,26216,307,0002,038,0002,265,088
9Jul 17, 2024 13:155,74442,082,89616,340,0002,042,0002,265,088
10Jul 17, 2024 13:156,19086,886,04219,808,62702,297,856
11Jul 17, 2024 13:156,19897,397,81419,832,25402,297,856
12Jul 17, 2024 13:156,258115,667,83620,026,19002,297,856