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 15, 2024 14:18matsuoka-601matsuoka-601Score: 5,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:185,46540,202,25416,460,0001,028,0002,269,184
2Jan 15, 2024 14:185,46933,048,30816,472,0001,029,0002,531,328
3Jan 15, 2024 14:185,47839,409,14516,499,0001,031,0002,387,968
4Jan 15, 2024 14:185,48238,746,57617,541,00002,289,664
5Jan 15, 2024 14:185,48640,865,78917,554,00002,379,776
6Jan 15, 2024 14:185,49039,422,38817,569,00002,273,280
7Jan 15, 2024 14:185,51647,392,88716,613,0001,038,0002,273,280
8Jan 15, 2024 14:185,53350,474,50616,665,0001,041,0002,289,664
9Jan 15, 2024 14:185,54039,006,44716,685,0001,042,0002,289,664
10Jan 15, 2024 14:185,62788,176,47218,007,67602,297,856
11Jan 15, 2024 14:185,63884,806,34818,041,64002,301,952
12Jan 15, 2024 14:185,640110,265,38718,046,89302,174,976