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 listMay 1, 2025 20:03Niyaz MingaripovNiyaz MingaripovScore: 2,972,242Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2025 20:032,956,8339,489,901,0159,433,882,00027,984,0002,277,376
2May 1, 2025 20:032,961,9149,510,906,5029,450,137,00027,988,0002,289,664
3May 1, 2025 20:032,969,4019,528,520,2589,470,098,00031,986,0002,355,200
4May 1, 2025 20:032,970,7439,535,794,2969,475,391,00030,988,0002,285,568
5May 1, 2025 20:032,972,2429,542,862,6569,480,191,00030,984,0002,277,376
6May 1, 2025 20:032,976,0199,553,125,3609,487,280,00035,982,0002,347,008
7May 1, 2025 20:032,996,3499,621,358,9489,565,328,00022,988,0002,519,040
8May 1, 2025 20:032,999,1939,629,324,9359,573,425,00023,991,0002,277,376
9May 1, 2025 20:033,135,10010,060,357,62410,002,332,00029,989,0002,277,376