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 3, 2026 18:37Jasper EdbrookeJasper EdbrookeScore: 10,973Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2026 18:3710,94358,413,17411,005,00024,012,0002,289,664
2Apr 3, 2026 18:3710,95557,911,0297,011,00028,045,0002,506,752
3Apr 3, 2026 18:3710,96860,766,7934,011,00031,087,0002,289,664
4Apr 3, 2026 18:3710,97265,458,41212,037,00023,072,0002,502,656
5Apr 3, 2026 18:3710,97361,851,4526,019,00029,093,0002,289,664
6Apr 3, 2026 18:3711,19860,826,2998,958,00026,876,0002,502,656
7Apr 3, 2026 18:3711,20959,865,0896,974,00028,894,0002,289,664
8Apr 3, 2026 18:3711,28056,477,0258,021,00028,075,0002,285,568
9Apr 3, 2026 18:3711,46963,067,0894,077,00032,623,0002,289,664