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 listJan 15, 2026 04:26zielajzielajScore: 365,995Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2026 04:26365,2351,198,432,5631,167,753,000998,0002,486,272
2Jan 15, 2026 03:09365,2611,193,251,9651,167,836,000998,0002,482,176
3Jan 15, 2026 02:39365,3271,194,035,2331,168,050,000997,0002,531,328
4Jan 15, 2026 03:11365,5711,203,953,6331,169,828,00002,269,184
5Jan 15, 2026 02:41365,6731,196,841,2681,169,155,000997,0002,531,328
6Jan 15, 2026 03:16365,8951,200,273,9931,170,865,00002,531,328
7Jan 15, 2026 03:16365,9371,206,329,8531,170,002,000997,0002,486,272
8Jan 15, 2026 02:41365,9411,196,056,5221,170,013,000997,0002,531,328
9Jan 15, 2026 02:39365,9681,200,981,7061,170,102,000997,0002,269,184
10Jan 15, 2026 03:09365,9861,197,772,1961,171,154,00002,269,184
11Jan 15, 2026 03:16365,9951,198,386,8151,170,187,000997,0002,531,328
12Jan 15, 2026 03:19366,0971,194,093,7171,170,512,000997,0002,531,328
13Jan 15, 2026 03:19366,1701,199,575,6571,170,746,000998,0002,490,368
14Jan 15, 2026 03:09366,2281,200,042,1781,170,931,000997,0002,269,184
15Jan 15, 2026 03:11366,2401,205,481,2941,171,967,00002,531,328
16Jan 15, 2026 04:26366,2711,194,993,6861,171,069,000997,0002,494,464
17Jan 15, 2026 04:26366,2781,197,876,7001,170,093,0001,995,0002,486,272
18Jan 15, 2026 02:41366,2821,193,537,5351,171,105,000997,0002,531,328
19Jan 15, 2026 03:19366,3261,200,609,0801,171,245,000997,0002,494,464
20Jan 15, 2026 03:11366,5681,204,426,3181,172,021,000997,0002,269,184
21Jan 15, 2026 02:39367,3571,201,523,2571,175,543,00002,494,464