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 21, 2024 16:29matsuoka-601matsuoka-601Score: 4,869Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:294,82938,332,17314,423,0001,030,0002,285,568
2Jan 21, 2024 16:294,83438,322,57015,469,00002,527,232
3Jan 21, 2024 16:294,84332,834,65814,466,0001,033,0002,277,376
4Jan 21, 2024 16:294,85036,753,90414,485,0001,034,0002,285,568
5Jan 21, 2024 16:294,85434,560,57415,533,00002,285,568
6Jan 21, 2024 16:294,86236,097,54014,521,0001,037,0002,269,184
7Jan 21, 2024 16:294,86940,546,12615,582,00002,285,568
8Jan 21, 2024 16:294,87432,351,32815,597,00002,273,280
9Jan 21, 2024 16:294,88442,501,12714,588,0001,042,0002,285,568
10Jan 21, 2024 16:295,22180,344,05416,705,79802,310,144
11Jan 21, 2024 16:295,24284,727,77516,775,44802,306,048
12Jan 21, 2024 16:295,24476,055,92516,782,11802,297,856