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 17, 2024 00:33Joad NacerJoad NacerScore: 5,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:335,43844,155,32217,400,00002,281,472
2Apr 17, 2024 00:335,44934,621,43417,437,00002,289,664
3Apr 17, 2024 00:335,48238,535,88516,510,0001,031,0002,269,184
4Apr 17, 2024 00:335,48533,637,74216,519,0001,032,0002,289,664
5Apr 17, 2024 00:335,48941,788,48016,531,0001,033,0002,289,664
6Apr 17, 2024 00:335,49648,851,15516,553,0001,034,0002,289,664
7Apr 17, 2024 00:335,49944,303,25816,561,0001,035,0002,269,184
8Apr 17, 2024 00:335,50545,404,80816,581,0001,036,0002,273,280
9Apr 17, 2024 00:335,51146,057,74617,636,00002,289,664
10Apr 17, 2024 00:335,70397,933,08418,248,10402,174,976
11Apr 17, 2024 00:335,70356,089,86118,250,16602,179,072
12Apr 17, 2024 00:335,72796,898,53518,327,72002,297,856