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 listApr 5, 2025 15:28CountHarebourgCountHarebourgScore: 4,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 15:284,65831,626,43813,911,000993,0002,269,184
2Apr 5, 2025 15:284,67532,506,65312,965,0001,994,0002,273,280
3Apr 5, 2025 15:284,68032,319,76012,979,0001,996,0002,281,472
4Apr 5, 2025 15:284,69636,750,73714,027,0001,001,0002,527,232
5Apr 5, 2025 15:284,70333,353,17014,046,0001,003,0002,289,664
6Apr 5, 2025 15:284,71442,478,03614,080,0001,005,0002,289,664