/* package whatever; // don't place package name! */
import java.util.* ;
import java.lang.* ;
import java.io.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main
( String [ ] args
) { new Ideone( ) .m ( 5 ,5 ) ;
}
return 0 ;
}
long m( long ... i ) {
return 0 ;
} // your code goes here
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewoJCW5ldyBJZGVvbmUoKS5tKDUsNSk7CiAgICB9CiAgICBpbnQgbShJbnRlZ2VyLi4uIGkpIHsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oImludCIpOwogICAgICAgIHJldHVybiAwOwogICAgfQogICAgbG9uZyBtKGxvbmcuLi4gaSkgewogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigibG9uZyIpOwogICAgICAgIHJldHVybiAwOwogICAgfQkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCn0=
compilation info
Main.java:11: error: reference to m is ambiguous, both method m(Integer...) in Ideone and method m(long...) in Ideone match
new Ideone().m(5,5);
^
1 error
stdout