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 listAug 28, 2026 18:26Navneet RajNavneet RajScore: 5,134Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2026 18:275,11526,036,32315,346,0001,023,0002,113,536
2Aug 28, 2026 18:275,11526,140,56415,352,0001,016,0002,113,536
3Aug 28, 2026 18:275,12826,209,18715,397,0001,013,0002,113,536
4Aug 28, 2026 18:275,13026,148,78015,404,0001,014,0002,113,536
5Aug 28, 2026 18:275,13426,176,11915,359,0001,070,0002,113,536
6Aug 28, 2026 18:275,15026,229,26715,398,0001,082,0002,113,536
7Aug 28, 2026 18:275,15626,298,85015,466,0001,035,0002,113,536
8Aug 28, 2026 18:275,16126,308,32115,508,0001,009,0002,113,536
9Aug 28, 2026 18:275,19026,400,53215,541,0001,068,0002,113,536