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 listDec 29, 2025 02:28HattonuriHattonuriScore: 4,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 02:284,43128,235,38412,155,0002,025,0002,449,408
2Dec 29, 2025 02:284,44440,350,21112,190,0002,031,0002,453,504
3Dec 29, 2025 02:284,44936,862,22212,203,0002,033,0002,535,424
4Dec 29, 2025 02:284,45530,584,61613,238,0001,018,0002,449,408
5Dec 29, 2025 02:284,45930,000,40012,232,0002,038,0002,535,424
6Dec 29, 2025 02:284,46332,253,13113,261,0001,020,0002,441,216
7Dec 29, 2025 02:284,46628,778,84313,271,0001,020,0002,535,424
8Dec 29, 2025 02:284,46829,740,01813,275,0001,021,0002,449,408
9Dec 29, 2025 02:284,47837,619,01213,308,0001,023,0002,535,424
10Dec 29, 2025 02:284,48434,287,39013,324,0001,024,0002,273,280
11Dec 29, 2025 02:284,48631,513,56413,330,0001,025,0002,535,424
12Dec 29, 2025 02:284,50335,656,72213,379,0001,029,0002,273,280