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 03:38Joad NacerJoad NacerScore: 5,330Success
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 03:385,26831,789,36415,865,000991,0002,289,664
2Apr 17, 2024 03:385,26943,798,95015,869,000991,0002,289,664
3Apr 17, 2024 03:385,27747,943,38514,901,0001,986,0002,531,328
4Apr 17, 2024 03:385,27842,960,36915,895,000993,0002,265,088
5Apr 17, 2024 03:385,28438,612,91515,853,0001,056,0002,289,664
6Apr 17, 2024 03:385,31239,879,95114,998,0001,999,0002,273,280
7Apr 17, 2024 03:385,33042,410,49416,053,0001,003,0002,277,376
8Apr 17, 2024 03:385,33234,782,58716,059,0001,003,0002,289,664
9Apr 17, 2024 03:385,35147,955,42015,108,0002,014,0002,289,664
10Apr 17, 2024 03:385,51389,025,25517,641,28002,297,856
11Apr 17, 2024 03:385,53490,459,83617,708,10002,301,952
12Apr 17, 2024 03:385,59084,308,74017,888,20602,301,952