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 listMar 16, 2023 00:57Alexander MonakovAlexander MonakovScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:575,22346,246,54415,668,0001,044,0002,465,792
2Mar 16, 2023 00:575,22450,100,82115,674,0001,044,0002,281,472
3Mar 16, 2023 00:575,22430,930,64315,674,0001,044,0002,445,312
4Mar 16, 2023 00:575,22733,375,02115,682,0001,045,0002,281,472
5Mar 16, 2023 00:575,26643,302,52914,870,0001,982,0002,281,472
6Mar 16, 2023 00:575,27342,297,57814,889,0001,985,0002,285,568
7Mar 16, 2023 00:575,27537,561,52114,895,0001,986,0002,449,408
8Mar 16, 2023 00:575,27930,197,06514,907,0001,987,0002,457,600
9Mar 16, 2023 00:575,28137,981,43114,910,0001,988,0002,449,408
10Mar 16, 2023 00:575,42671,406,34117,362,89802,195,456
11Mar 16, 2023 00:575,43999,570,05017,406,07102,211,840
12Mar 16, 2023 00:575,44686,549,03217,426,62202,211,840