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 8, 2023 16:26Andrew MoonAndrew MoonScore: 5,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:265,38849,000,58316,227,0001,014,0002,387,968
2Jul 8, 2023 16:265,40037,480,75416,264,0001,016,0002,265,088
3Jul 8, 2023 16:265,40054,466,78515,248,0002,033,0002,387,968
4Jul 8, 2023 16:265,40444,426,71115,258,0002,034,0002,265,088
5Jul 8, 2023 16:265,41445,855,27715,287,0002,038,0002,265,088
6Jul 8, 2023 16:265,42545,845,67215,318,0002,042,0002,379,776
7Jul 8, 2023 16:265,42732,225,59416,346,0001,021,0002,392,064
8Jul 8, 2023 16:265,43234,651,30516,359,0001,022,0002,486,272
9Jul 8, 2023 16:265,45842,350,69217,465,00002,510,848
10Jul 8, 2023 16:265,62099,081,76017,983,69902,277,376
11Jul 8, 2023 16:265,62682,105,46018,002,72302,273,280
12Jul 8, 2023 16:265,65475,782,65018,091,23702,273,280