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 11, 2024 18:38ZOTTIGZOTTIGScore: 78,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 18:3876,510268,178,908228,842,00015,989,0002,330,624
2Nov 11, 2024 18:3876,986272,876,974231,335,00015,021,0002,482,176
3Nov 11, 2024 18:3877,618269,194,064229,350,00019,029,0002,330,624
4Nov 11, 2024 18:3878,260272,909,822223,386,00027,046,0002,330,624
5Nov 11, 2024 18:3878,358276,108,744219,778,00030,968,0002,469,888
6Nov 11, 2024 18:3878,363281,951,451220,789,00029,971,0002,482,176
7Nov 11, 2024 18:3878,381276,984,108220,840,00029,978,0002,330,624
8Nov 11, 2024 18:3878,391284,466,866221,868,00028,982,0002,486,272
9Nov 11, 2024 18:3878,393275,138,004220,876,00029,983,0002,330,624