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 27, 2025 10:03Divyansh MittalDivyansh MittalScore: 2,973,240Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 10:032,961,5789,508,592,7969,444,065,00032,986,0002,277,376
2Apr 27, 2025 10:032,970,6959,537,041,4099,467,245,00038,980,0002,260,992
3Apr 27, 2025 10:032,970,7399,533,052,5269,472,383,00033,983,0002,285,568
4Apr 27, 2025 10:032,973,0069,538,368,1189,486,629,00026,990,0002,277,376
5Apr 27, 2025 10:032,973,2409,541,170,5129,485,379,00028,988,0002,277,376
6Apr 27, 2025 10:033,021,0389,703,950,9009,630,341,00036,982,0002,277,376
7Apr 27, 2025 10:033,028,1819,719,872,1529,654,197,00035,982,0002,375,680
8Apr 27, 2025 10:033,057,6569,816,497,1209,760,510,00023,988,0002,289,664
9Apr 27, 2025 10:033,067,0699,844,396,4219,788,633,00025,988,0002,285,568