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 19:43Yuriy LyfenkoYuriy LyfenkoScore: 5,467Success
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 19:435,406197,151,09616,337,000961,0002,269,184
2May 17, 2021 19:435,414886,844,08214,439,0002,887,0002,523,136
3May 17, 2021 19:435,417747,535,08016,315,0001,019,0002,265,088
4May 17, 2021 19:435,4442,196,861,78216,398,0001,024,0002,265,088
5May 17, 2021 19:435,4492,741,799,89715,499,0001,937,0002,523,136
6May 17, 2021 19:435,4572,340,531,24315,521,0001,940,0002,260,992
7May 17, 2021 19:435,4671,046,782,91915,551,0001,943,0002,269,184
8May 17, 2021 19:435,4742,209,138,72716,544,000973,0002,265,088
9May 17, 2021 19:435,497264,837,37516,614,000977,0002,269,184
10May 17, 2021 19:435,5383,007,761,64817,722,07302,277,376
11May 17, 2021 19:435,5682,888,522,68717,816,66102,277,376
12May 17, 2021 19:435,588466,590,08817,882,46202,277,376