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 8, 2024 12:56Dmitrii TretiakovDmitrii TretiakovScore: 32,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2024 12:5632,400133,577,86576,502,00027,178,0002,281,472
2Nov 8, 2024 12:5632,446135,457,59674,875,00028,951,0002,277,376
3Nov 8, 2024 12:5632,449136,872,31575,881,00027,956,0002,289,664
4Nov 8, 2024 12:5632,453133,393,25774,893,00028,958,0002,289,664
5Nov 8, 2024 12:5632,539134,890,79378,095,00026,031,0002,281,472
6Nov 8, 2024 12:5632,588130,522,26378,210,00026,070,0002,281,472
7Nov 8, 2024 12:5632,588136,521,27681,220,00023,062,0002,527,232
8Nov 8, 2024 12:5632,602126,226,99672,225,00032,100,0002,281,472
9Nov 8, 2024 12:5632,619132,784,94378,285,00026,095,0002,281,472