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 listJan 28, 2025 18:52etherealetherealScore: 78,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 18:5278,308278,591,714214,646,00035,940,0002,383,872
2Jan 28, 2025 18:5278,352279,598,561215,765,00034,962,0002,375,680
3Jan 28, 2025 18:5278,384278,577,198212,855,00037,974,0002,519,040
4Jan 28, 2025 18:5278,441276,379,362216,011,00035,001,0002,449,408
5Jan 28, 2025 18:5278,527278,992,039216,247,00035,040,0002,359,296
6Jan 28, 2025 18:5278,650280,055,684215,727,00035,954,0002,490,368
7Jan 28, 2025 18:5279,119281,141,258216,155,00037,026,0002,510,848
8Jan 28, 2025 18:5279,154278,552,195216,250,00037,042,0002,383,872
9Jan 28, 2025 18:5279,157279,173,563216,257,00037,044,0002,334,720