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:57Ilya TocarIlya TocarScore: 5,977Success
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:575,96344,825,46217,073,0002,008,0002,277,376
2Jan 29, 2025 06:575,96736,436,23617,085,0002,010,0002,277,376
3Jan 29, 2025 06:575,96842,957,26618,091,0001,005,0002,273,280
4Jan 29, 2025 06:575,96842,547,97817,088,0002,010,0002,523,136
5Jan 29, 2025 06:575,97748,026,31817,112,0002,013,0002,273,280
6Jan 29, 2025 06:575,97842,012,10317,116,0002,013,0002,265,088
7Jan 29, 2025 06:575,98141,918,40617,126,0002,014,0002,269,184
8Jan 29, 2025 06:575,99848,656,46318,182,0001,010,0002,277,376
9Jan 29, 2025 06:576,00841,339,78916,191,0003,035,0002,277,376