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 listJul 3, 2023 14:52Anılcan GülkayaAnılcan GülkayaScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:525,49535,054,76117,583,00002,387,968
2Jul 3, 2023 14:525,49543,407,05617,584,00002,392,064
3Jul 3, 2023 14:525,50039,831,42716,565,0001,035,0002,265,088
4Jul 3, 2023 14:525,50545,031,96017,617,00002,396,160
5Jul 3, 2023 14:525,51844,005,67216,621,0001,038,0002,265,088
6Jul 3, 2023 14:525,53848,149,73116,680,0001,042,0002,392,064
7Jul 3, 2023 14:525,58247,026,73215,877,0001,984,0002,527,232
8Jul 3, 2023 14:525,58348,603,49216,873,000992,0002,392,064
9Jul 3, 2023 14:525,58548,983,37316,879,000992,0002,265,088
10Jul 3, 2023 14:525,95963,947,75619,069,19002,277,376
11Jul 3, 2023 14:525,96195,378,73019,074,19202,273,280
12Jul 3, 2023 14:525,99587,086,35319,184,54902,273,280