You can use this assignment in your class!
Mastery Progress(100.0%)
i

You answeredJUST NOW
Java
You passed all test cases!
STDIN
5
1 2 3 4 5 6 7 8 9 10
Regex
[0-9]+\n[0-9]+
Your STDOUT
8678
1595
STDIN
50
10 20 30 40 50 60 70 80 90 100
Regex
[0-9]+\n[0-9]+
Your STDOUT
8380
1245
STDIN
20
1 3 5 7 9 11 13 15 17 19
Regex
[0-9]+\n[0-9]+
Your STDOUT
10061
2936

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAPR 23, 2024, 6:42:28 PM
Java

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
  • C.
  • D.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.