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 16, 2023 19:26Ulyanov AlekseyUlyanov AlekseyScore: 5,914Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 19:265,89242,965,32417,861,000992,0002,404,352
2Jun 16, 2023 19:265,89444,663,94418,860,00002,523,136
3Jun 16, 2023 19:265,89544,826,96716,880,0001,985,0002,289,664
4Jun 16, 2023 19:265,89936,918,18716,891,0001,987,0002,289,664
5Jun 16, 2023 19:265,90044,032,65817,886,000993,0002,289,664
6Jun 16, 2023 19:265,91046,788,87716,922,0001,990,0002,289,664
7Jun 16, 2023 19:265,91443,697,97616,933,0001,992,0002,281,472
8Jun 16, 2023 19:265,91941,425,06716,948,0001,993,0002,289,664
9Jun 16, 2023 19:265,92741,603,00317,969,000998,0002,277,376
10Jun 16, 2023 19:266,07784,780,85119,445,82002,297,856
11Jun 16, 2023 19:266,07888,112,07919,448,71602,289,664
12Jun 16, 2023 19:266,08789,295,79719,479,19002,179,072