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 listNov 10, 2024 13:44Viktor SuprunViktor SuprunScore: 16,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 13:4415,97378,926,07448,108,0003,006,0002,404,352
2Nov 10, 2024 13:4415,99478,623,26748,171,0003,010,0002,367,488
3Nov 10, 2024 13:4415,99974,544,47250,195,0001,003,0002,367,488
4Nov 10, 2024 13:4416,00574,171,39449,207,0002,008,0002,404,352
5Nov 10, 2024 13:4416,02376,526,94548,258,0003,016,0002,367,488
6Nov 10, 2024 13:4416,03376,017,18749,295,0002,012,0002,351,104
7Nov 10, 2024 13:4416,03375,001,07749,295,0002,012,0002,367,488
8Nov 10, 2024 13:4416,03674,079,97548,298,0003,018,0002,367,488
9Nov 10, 2024 13:4416,03977,689,89750,320,0001,006,0002,367,488