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 listMar 29, 2026 11:31Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 44,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2026 11:2944,294164,126,972119,626,00022,115,0002,457,600
2Mar 29, 2026 11:2944,376172,769,413109,003,00033,001,0002,367,488
3Mar 29, 2026 11:3144,391166,234,487113,040,00029,010,0002,269,184
4Mar 29, 2026 11:2944,399165,277,454111,061,00031,017,0002,297,856
5Mar 29, 2026 11:2944,401162,215,524109,064,00033,019,0002,379,776
6Mar 29, 2026 11:2944,426170,371,988112,129,00030,034,0002,277,376
7Mar 29, 2026 11:2944,427171,159,706111,130,00031,036,0002,277,376
8Mar 29, 2026 11:2944,440164,381,474113,165,00029,042,0002,371,584
9Mar 29, 2026 11:3144,466167,129,440112,231,00030,061,0002,387,968
10Mar 29, 2026 11:2944,469168,896,321112,238,00030,063,0002,375,680
11Mar 29, 2026 11:2944,492166,154,146114,300,00028,073,0002,375,680
12Mar 29, 2026 11:3144,597167,373,024111,772,00030,937,0002,277,376