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 listJun 12, 2024 19:36AndreyTSAndreyTSScore: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:365,67141,008,58816,132,0002,016,0002,289,664
2Jun 12, 2024 19:365,68044,920,77316,156,0002,019,0002,289,664
3Jun 12, 2024 19:365,68239,848,37516,162,0002,020,0002,387,968
4Jun 12, 2024 19:365,69341,170,83017,207,0001,012,0002,289,664
5Jun 12, 2024 19:365,69445,806,66216,196,0002,024,0002,289,664
6Jun 12, 2024 19:365,69639,492,99916,203,0002,025,0002,289,664
7Jun 12, 2024 19:365,70040,713,42816,213,0002,026,0002,289,664
8Jun 12, 2024 19:365,70043,930,48617,227,0001,013,0002,277,376
9Jun 12, 2024 19:365,70844,929,81516,236,0002,029,0002,289,664
10Jun 12, 2024 19:365,92497,584,56218,958,02802,301,952
11Jun 12, 2024 19:365,92590,172,15118,960,34802,256,896
12Jun 12, 2024 19:365,947108,415,87719,031,71602,310,144