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 19, 2023 21:36Ulyanov AlekseyUlyanov AlekseyScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:365,53243,514,59317,702,00002,277,376
2Jun 19, 2023 21:365,57848,912,58017,850,00002,289,664
3Jun 19, 2023 21:365,57844,533,55116,860,000991,0002,387,968
4Jun 19, 2023 21:365,58247,929,43616,870,000992,0002,273,280
5Jun 19, 2023 21:365,58645,190,93716,881,000993,0002,289,664
6Jun 19, 2023 21:365,58641,376,84515,889,0001,986,0002,375,680
7Jun 19, 2023 21:365,58646,023,42616,882,000993,0002,273,280
8Jun 19, 2023 21:365,58634,120,76315,890,0001,986,0002,277,376
9Jun 19, 2023 21:365,58745,532,43115,892,0001,986,0002,289,664
10Jun 19, 2023 21:365,67581,413,11118,159,89902,297,856
11Jun 19, 2023 21:365,68494,042,83818,188,11702,301,952
12Jun 19, 2023 21:365,69483,545,56818,221,83802,301,952