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 20, 2025 20:21Adam FolwarcznyAdam FolwarcznyScore: 4,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 20:214,77331,516,97414,256,0001,018,0002,277,376
2Apr 20, 2025 20:214,79031,794,56213,284,0002,043,0002,277,376
3Apr 20, 2025 20:214,79238,233,18913,289,0002,044,0002,273,280
4Apr 20, 2025 20:214,79536,545,99113,298,0002,045,0002,289,664
5Apr 20, 2025 20:214,79733,414,60113,305,0002,046,0002,289,664
6Apr 20, 2025 20:214,79941,354,04513,310,0002,047,0002,289,664
7Apr 20, 2025 20:214,80637,722,76513,329,0002,050,0002,277,376
8Apr 20, 2025 20:214,82040,216,77313,368,0002,056,0002,277,376
9Apr 20, 2025 20:214,83233,614,72013,400,0002,061,0002,289,664