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 28, 2025 20:26HattonuriHattonuriScore: 5,072Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2025 20:265,03634,648,57214,102,0002,014,0002,273,280
2Dec 28, 2025 20:265,06133,882,46414,170,0002,024,0002,535,424
3Dec 28, 2025 20:265,06339,251,40414,176,0002,025,0002,445,312
4Dec 28, 2025 20:265,06834,752,72414,189,0002,027,0002,453,504
5Dec 28, 2025 20:265,07243,814,49314,201,0002,028,0002,535,424
6Dec 28, 2025 20:265,08350,612,64515,251,0001,016,0002,453,504
7Dec 28, 2025 20:265,08833,021,71515,264,0001,017,0002,535,424
8Dec 28, 2025 20:265,09437,385,84715,283,0001,018,0002,535,424
9Dec 28, 2025 20:265,10031,945,07114,280,0002,040,0002,535,424