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 12, 2026 15:49Pavel SamyginPavel SamyginScore: 2,940,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 12, 2026 15:492,928,5909,395,433,9879,345,499,00025,990,0002,273,280
2Apr 12, 2026 15:492,932,6919,411,474,8819,353,623,00030,988,0002,273,280
3Apr 12, 2026 15:492,934,9359,419,034,2689,363,806,00027,987,0002,273,280
4Apr 12, 2026 15:492,935,9579,427,444,9869,366,074,00028,987,0002,433,024
5Apr 12, 2026 15:492,940,1969,440,762,1009,381,641,00026,987,0002,273,280
6Apr 12, 2026 15:492,940,6929,440,669,9079,376,231,00033,982,0002,514,944
7Apr 12, 2026 15:492,948,8489,466,639,5859,405,328,00030,984,0002,437,120
8Apr 12, 2026 15:493,044,9109,772,134,8469,711,726,00031,985,0002,273,280
9Apr 12, 2026 15:493,091,8209,922,485,9829,852,847,00040,978,0002,273,280