Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void solve() {
- final int MAX = (int) 1e5;
- char[] chars = new char[MAX];
- String s = new String(chars);
- int tmp = 0;
- for (int i = 0; i < MAX; i++) {
- tmp += s.hashCode() * i;
- }
- System.err.println(tmp);
- }
Advertisement
Add Comment
Please, Sign In to add comment