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 29, 2025 06:55Ilya TocarIlya TocarScore: 6,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 06:556,04952,735,05117,320,0002,037,0002,265,088
2Jan 29, 2025 06:556,05543,205,98016,317,0003,059,0002,277,376
3Jan 29, 2025 06:556,05543,295,81816,318,0003,059,0002,265,088
4Jan 29, 2025 06:556,05542,279,62215,298,0004,079,0002,277,376
5Jan 29, 2025 06:556,05936,766,76516,329,0003,061,0002,277,376
6Jan 29, 2025 06:556,06742,678,35218,393,0001,021,0002,281,472
7Jan 29, 2025 06:556,06844,661,27918,396,0001,022,0002,265,088
8Jan 29, 2025 06:556,06935,282,27818,400,0001,022,0002,265,088
9Jan 29, 2025 06:556,08737,710,40818,452,0001,025,0002,273,280