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 listOct 14, 2025 10:18wee77777wee-huewee77777wee-hueScore: 5,113Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 10:185,09137,250,77215,274,0001,018,0002,445,312
2Oct 14, 2025 10:185,09232,668,48515,275,0001,018,0002,277,376
3Oct 14, 2025 10:185,10436,420,72115,312,0001,020,0002,445,312
4Oct 14, 2025 10:185,10632,351,87415,318,0001,021,0002,277,376
5Oct 14, 2025 10:185,11339,872,75015,339,0001,022,0002,453,504
6Oct 14, 2025 10:185,12230,378,85415,366,0001,024,0002,449,408
7Oct 14, 2025 10:185,12736,642,12815,382,0001,025,0002,531,328
8Oct 14, 2025 10:185,13530,067,29115,406,0001,027,0002,277,376
9Oct 14, 2025 10:185,13631,636,05715,409,0001,027,0002,453,504