We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #1: Multiples of 3 and 5
Project Euler #1: Multiples of 3 and 5
Contest ends in
Sort by
recency
|
1351 Discussions
|
Please Login in order to post a comment
simple Swift version
//here is the exact JAVA solution by using formula for the sum of an arithmetic progression//
//here is the exact JAVA solution by using formula for the sum of an arithmetic progression//
import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
} I pass all tests except for running time error, Could anyone help me to optimize this code
import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
} I pass all tests except for running time error, Could anyone help me to optimize this code