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 4, 2026 05:42limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 18, 2026 02:26Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 02:31023,270,55312,034,0001,056,0002,113,536expected "158789552 ", got "15149232"
2Sep 18, 2026 02:31023,336,66112,060,0001,054,0002,113,536expected "158790801 ", got "15083665"
3Sep 18, 2026 02:31023,300,30312,028,0001,040,0002,113,536expected "158790728 ", got "15083592"
4Aug 4, 2026 05:424,06522,830,72112,000,0001,008,0002,113,536
5Aug 4, 2026 05:424,06922,815,44211,999,0001,023,0002,113,536
6Aug 4, 2026 05:424,07524,062,43812,018,0001,025,0002,113,536
7Aug 4, 2026 05:424,08222,861,36712,036,0001,027,0002,113,536
8Aug 4, 2026 05:424,08822,890,07712,052,0001,031,0002,113,536
9Aug 4, 2026 05:424,09222,984,95012,056,0001,041,0002,113,536
10Aug 4, 2026 05:424,09422,953,28712,050,0001,052,0002,113,536
11Aug 4, 2026 05:424,09423,000,10412,058,0001,043,0002,113,536
12Aug 4, 2026 05:424,09722,955,76112,063,0001,048,0002,113,536