repl.it
@anonymous/

ShorttermUnfortunatePasswords

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import java.util.*;
import java.lang.*;
import java.io.*;

class Main {
 
  public static void main(String[] args) {
    
  List <Long> lista = new ArrayList();
long x=200;
long pulo = 3;
for (long a = 1; a <= 10; a++) {
 if((a % pulo) == 0){
  lista.add(x+a);
 }else{
   lista.add(a);
 }
}
System.out.print(lista);