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 5, 2024 22:27Michael KlimenkoMichael KlimenkoScore: 10,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 22:2710,58361,065,64032,869,000996,0002,289,664
2Nov 5, 2024 22:2710,58563,298,37031,881,0001,992,0002,523,136
3Nov 5, 2024 22:2710,58958,971,69131,893,0001,993,0002,371,584
4Nov 5, 2024 22:2710,59362,193,69231,903,0001,993,0002,277,376
5Nov 5, 2024 22:2710,60257,321,74131,931,0001,995,0002,265,088
6Nov 5, 2024 22:2710,60860,042,48631,948,0001,996,0002,289,664
7Nov 5, 2024 22:2710,61663,633,39631,972,0001,998,0002,289,664
8Nov 5, 2024 22:2710,61957,481,40631,983,0001,998,0002,289,664
9Nov 5, 2024 22:2710,65259,315,92432,081,0002,005,0002,265,088