Problem G

Statement
Copy Copied
Description:
Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. You are given two strings; calculate the distance between them.

Input Format:
The input consists of two lines. Each line contains a string of characters 'A'-'Z' between 1 and 100 characters, inclusive. The strings have equal length.

Output Format:
Output Hamming distance between the strings.

Note:
None

Evaluations

Eval IDRun IDProviderModelLangSuccessTimestampPromptResponseStdoutStderrRetry
2942 20260318-220006 openai gpt-5.4 go true 2026-03-18T23:21:21.926461Z View View View View Retry