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:50matsuoka-601matsuoka-601Score: 5,517Success
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:505,47939,624,81617,534,00002,531,328
2Jan 15, 2024 14:505,49843,474,84917,595,00002,289,664
3Jan 15, 2024 14:505,50144,366,36016,567,0001,035,0002,289,664
4Jan 15, 2024 14:505,50839,899,49117,627,00002,289,664
5Jan 15, 2024 14:505,51048,805,52316,595,0001,037,0002,289,664
6Jan 15, 2024 14:505,51340,150,04516,604,0001,037,0002,269,184
7Jan 15, 2024 14:505,51748,065,37017,653,00002,289,664
8Jan 15, 2024 14:505,58433,886,09216,878,000992,0002,531,328
9Jan 15, 2024 14:505,58634,975,30416,883,000993,0002,351,104
10Jan 15, 2024 14:505,64372,621,62918,056,93702,297,856
11Jan 15, 2024 14:505,64788,763,28018,071,33102,174,976
12Jan 15, 2024 14:505,66364,029,00818,121,37702,301,952