|
|
back to boardtle in c++ and ac in java my same logic got tle in c++ but AC in java so beware Re: tle in c++ and ac in java LOL. That's interesting. Could you share code please? Re: tle in c++ and ac in java Posted by Apkawa 24 Apr 2022 12:49 That's because in Java objects like String pass by their links, when in C++ strings pass by their values(all chars). So when you move a string in Java you do less operations than you do in C++ Edited by author 24.04.2022 12:50 |
|
|