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 listApr 22, 2024 02:35Yuriy LyfenkoYuriy LyfenkoScore: 7,167Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:355,85883,778,75218,744,40202,285,568
2Apr 22, 2024 02:355,94066,438,43319,008,30202,265,088
3Apr 22, 2024 02:356,91648,020,11619,114,0003,018,0002,449,408
4Apr 22, 2024 02:357,03644,029,38719,446,0003,070,0002,469,888
5Apr 22, 2024 02:357,04843,971,77920,505,0002,050,0002,551,808
6Apr 22, 2024 02:357,09750,385,38220,647,0002,064,0002,551,808
7Apr 22, 2024 02:357,16748,527,42819,942,0002,991,0002,551,808
8Apr 22, 2024 02:357,16949,949,90519,949,0002,992,0002,551,808
9Apr 22, 2024 02:357,19252,161,64420,013,0003,002,0002,437,120
10Apr 22, 2024 02:357,20854,145,66820,056,0003,008,0002,551,808
11Apr 22, 2024 02:357,21949,294,99920,087,0003,013,0002,465,792
12Apr 22, 2024 02:3511,36899,653,55536,376,26802,277,376