162 problems solved
Rank by points: #2545
Total points:
219
3 contests written
Rank by rating: #4968
Rating: 931
Min. rating: 844
Max rating: 931
About
This is a panzerschrek (panzer-shrek). It schreks (shreks) panzers.
Tip for New Java People:
Always use $$\displaystyle ~BufferedReader~$$
It's fast, versatile, and doesn't result in Eclipse giving you nightmares over memory leaks.
Example:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
//Don't import stuff that you won't need. It takes up space. New programmers like to include every single thing to show complexity. Also, don't import the whole library if you only need some things from it.
public class Russian_Bias {
public void main(String[] args) throws IOException
//note you need to yeet IOException, or IOException will yeet you
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//must include
String test1 = br.readLine(); //br reads in string
byte test2 = Byte.parseByte(br.readLine()); //so you need to parse
int test3 = Integer.parseInt(br.readLine());
//note that you need it to be a class, not a primitive object
//shown in Integer.parseInt(...)
System.out.println(test1+test2+test3);
//confirm if the code works. you can copy-paste this code to see if it works
}
}
Also, ABSOLUTELY don't forget that JAVA INDEXES STARTS AT 0!!! Essential for many problems you will see around here.
Lastly, watch your spellings. Don't want to get a WA just for misspellings or punctuations, right?
About Me
OOP programmer (not too shabby but meh)
Languages I use:
- Node.js (JavaScript)
- Java
- C++
WASMTypeScript
Favourite Games:
- Fallout 4
- Fallout New Vegas
World of Tanks(I'm not a masochist anymore)- Osu
Russian vehicles in games are overpowered, change my mind. All credits to d for the awesome user-script.
0ecd77ea767a7967980768e11ac50b2aff1877e2946771c8bbe2186e7df39d72
Rating history
, #