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 listMay 17, 2021 03:32Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:325,401109,146,50516,324,000960,0002,396,160
2May 17, 2021 03:325,4114,181,557,13416,297,0001,018,0002,523,136
3May 17, 2021 03:325,416725,623,35014,442,0002,888,0002,265,088
4May 17, 2021 03:325,4193,478,291,23516,322,0001,020,0002,527,232
5May 17, 2021 03:325,4364,368,719,85617,394,00002,269,184
6May 17, 2021 03:325,4383,334,051,28515,468,0001,933,0002,527,232
7May 17, 2021 03:325,4431,673,136,94815,483,0001,935,0002,265,088
8May 17, 2021 03:325,4483,603,485,36316,465,000968,0002,265,088
9May 17, 2021 03:325,4622,675,334,39914,565,0002,913,0002,527,232
10May 17, 2021 03:325,5851,169,633,45217,872,85902,273,280
11May 17, 2021 03:325,6134,455,967,97917,962,78402,277,376
12May 17, 2021 03:325,6303,865,660,56218,016,66502,281,472