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 22, 2024 18:22Matt StuchlikMatt StuchlikScore: 4,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 18:224,65035,382,15813,888,000992,0002,289,664
2Jul 22, 2024 18:224,65829,610,02913,842,0001,064,0002,523,136
3Jul 22, 2024 18:224,66937,014,57513,946,000996,0002,269,184
4Jul 22, 2024 18:224,67032,064,10712,953,0001,992,0002,289,664
5Jul 22, 2024 18:224,67236,501,66812,958,0001,993,0002,289,664
6Jul 22, 2024 18:224,67729,554,31712,971,0001,995,0002,289,664
7Jul 22, 2024 18:224,68837,839,90813,003,0002,000,0002,289,664
8Jul 22, 2024 18:224,71039,553,64413,064,0002,009,0002,269,184
9Jul 22, 2024 18:224,72439,164,81114,109,0001,007,0002,273,280
10Jul 22, 2024 18:224,93468,994,71315,789,23702,252,800
11Jul 22, 2024 18:224,94895,334,52715,832,87602,301,952
12Jul 22, 2024 18:224,949106,735,21415,837,40002,297,856