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 26, 2025 21:41Adam FolwarcznyAdam FolwarcznyScore: 4,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 21:414,44330,332,63212,187,0002,031,0002,531,328
2Apr 26, 2025 21:414,45136,832,04212,208,0002,034,0002,449,408
3Apr 26, 2025 21:414,45735,983,59813,244,0001,018,0002,453,504
4Apr 26, 2025 21:414,46828,848,46513,277,0001,021,0002,449,408
5Apr 26, 2025 21:414,46933,739,93413,279,0001,021,0002,449,408
6Apr 26, 2025 21:414,47130,152,43213,286,0001,022,0002,449,408
7Apr 26, 2025 21:414,47233,760,10813,287,0001,022,0002,437,120
8Apr 26, 2025 21:414,47531,368,32413,297,0001,022,0002,531,328
9Apr 26, 2025 21:414,47827,405,80213,308,0001,023,0002,531,328