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 1, 2024 19:58Nao YonashiroNao YonashiroScore: 4,740Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 19:584,71634,068,47313,078,0002,012,0002,273,280
2Aug 1, 2024 19:584,72231,932,01313,095,0002,014,0002,273,280
3Aug 1, 2024 19:584,72937,619,10915,134,00002,289,664
4Aug 1, 2024 19:584,73338,149,66714,136,0001,009,0002,289,664
5Aug 1, 2024 19:584,73534,490,10314,141,0001,010,0002,285,568
6Aug 1, 2024 19:584,73733,978,66213,137,0002,021,0002,289,664
7Aug 1, 2024 19:584,74031,658,06513,147,0002,022,0002,273,280
8Aug 1, 2024 19:584,74333,591,55214,166,0001,011,0002,289,664
9Aug 1, 2024 19:584,74541,260,95013,160,0002,024,0002,289,664
10Aug 1, 2024 19:584,96594,859,06715,889,33202,297,856
11Aug 1, 2024 19:584,97584,936,19415,918,99802,297,856
12Aug 1, 2024 19:584,97879,467,03915,930,20802,301,952