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 24, 2021 18:20Dmitry DolgopolovDmitry DolgopolovScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:205,06933,232,14014,193,0002,027,0002,445,312
2May 24, 2021 18:205,07440,946,27714,209,0002,029,0002,445,312
3May 24, 2021 18:205,08039,525,77415,241,0001,016,0002,273,280
4May 24, 2021 18:205,08745,816,02015,261,0001,017,0002,441,216
5May 24, 2021 18:205,08831,699,78515,265,0001,017,0002,273,280
6May 24, 2021 18:205,10131,909,74615,302,0001,020,0002,535,424
7May 24, 2021 18:205,10637,209,20715,319,0001,021,0002,273,280
8May 24, 2021 18:205,12641,019,18515,378,0001,025,0002,433,024
9May 24, 2021 18:205,13136,871,52415,393,0001,026,0002,441,216
10May 24, 2021 18:205,28056,903,10016,896,00802,199,552
11May 24, 2021 18:205,29379,401,67516,936,43302,195,456
12May 24, 2021 18:205,31043,548,93216,991,22702,203,648