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 listFeb 22, 2024 13:11Huy Duc LeHuy Duc LeScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:114,95345,329,94415,848,00002,289,664
2Feb 22, 2024 13:114,95640,031,89213,877,0001,982,0002,289,664
3Feb 22, 2024 13:114,95843,711,34013,882,0001,983,0002,289,664
4Feb 22, 2024 13:114,95837,652,81914,875,000991,0002,289,664
5Feb 22, 2024 13:114,95836,199,33013,884,0001,983,0002,289,664
6Feb 22, 2024 13:114,96043,667,40914,880,000992,0002,289,664
7Feb 22, 2024 13:114,96433,859,95314,893,000992,0002,273,280
8Feb 22, 2024 13:114,96835,461,38413,909,0001,987,0002,523,136
9Feb 22, 2024 13:114,98040,941,76713,944,0001,992,0002,277,376
10Feb 22, 2024 13:115,15484,553,15416,491,84802,301,952
11Feb 22, 2024 13:115,17970,650,35916,572,31402,174,976
12Feb 22, 2024 13:115,18770,931,63516,599,71702,179,072