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:23Yuriy LyfenkoYuriy LyfenkoScore: 5,404Success
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:235,3631,351,734,55014,302,0002,860,0002,265,088
2May 17, 2021 03:235,3704,640,666,76515,163,0002,021,0002,523,136
3May 17, 2021 03:235,376144,790,69415,292,0001,911,0002,531,328
4May 17, 2021 03:235,4012,209,114,21617,283,00002,523,136
5May 17, 2021 03:235,4023,901,699,59217,285,00002,265,088
6May 17, 2021 03:235,403843,718,71914,408,0002,881,0002,265,088
7May 17, 2021 03:235,4043,626,525,93716,275,0001,017,0002,265,088
8May 17, 2021 03:235,4052,776,292,84417,297,00002,265,088
9May 17, 2021 03:235,427293,107,37615,438,0001,929,0002,269,184
10May 17, 2021 03:235,5681,918,711,98817,816,88302,281,472
11May 17, 2021 03:235,581669,218,08517,860,15702,281,472
12May 17, 2021 03:235,5851,054,370,20317,872,95302,281,472