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 3, 2023 20:48Hal FHal FScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:485,67338,772,90417,147,0001,008,0002,289,664
2Jan 3, 2023 20:485,67743,086,46117,157,0001,009,0002,281,472
3Jan 3, 2023 20:485,67838,516,53917,161,0001,009,0002,289,664
4Jan 3, 2023 20:485,68046,181,12316,158,0002,019,0002,289,664
5Jan 3, 2023 20:485,68537,221,96816,170,0002,021,0002,379,776
6Jan 3, 2023 20:485,68946,864,32916,183,0002,022,0002,289,664
7Jan 3, 2023 20:485,69342,106,75716,195,0002,024,0002,289,664
8Jan 3, 2023 20:485,69644,634,84816,203,0002,025,0002,523,136
9Jan 3, 2023 20:485,80146,110,06817,531,0001,031,0002,289,664
10Jan 3, 2023 20:485,82590,029,56518,640,78202,297,856
11Jan 3, 2023 20:485,872110,702,48818,791,31102,297,856
12Jan 3, 2023 20:485,90196,592,96518,884,20702,297,856