真奇妙

This commit is contained in:
黄艳鹏 2023-08-16 11:42:09 +08:00
parent 05730f8334
commit e8f57c41eb
2 changed files with 35 additions and 30 deletions

32
.idea/workspace.xml generated
View File

@ -4,15 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="3361a527-32cd-4bae-9601-76e1e362c2cc" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/com/A.java" afterDir="false" />
<list default="true" id="3361a527-32cd-4bae-9601-76e1e362c2cc" name="Changes" comment="真奇妙">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/A.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/A.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -45,11 +39,14 @@
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"WebServerToolWindowFactoryState": "false",
"git-widget-placeholder": "master",
"last_opened_file_path": "E:/IdeaAppWork/skip/src/main/java/com",
"last_opened_file_path": "E:/IdeaAppWork/skip",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"project.structure.last.edited": "Modules",
"project.structure.proportion": "0.0",
"project.structure.side.proportion": "0.0",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
@ -69,7 +66,7 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="Application.Test" />
<item itemvalue="Application.A" />
</list>
</recent_temporary>
</component>
@ -82,9 +79,22 @@
<option name="presentableId" value="Default" />
<updated>1692147265743</updated>
</task>
<task id="LOCAL-00001" summary="真奇妙">
<option name="closed" value="true" />
<created>1692151324877</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1692151324877</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="真奇妙" />
<option name="LAST_COMMIT_MESSAGE" value="真奇妙" />
</component>
</project>

View File

@ -6,27 +6,32 @@ import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
public class A extends Thread {
private static final int S = 8092;
private final int S = 8092;
private final int K;
private final String O;
private final int Q;
public static int N = 300000;
public static void main(String[] args){
new A().start();
B.test();
public static void main(String[] args) throws IOException {
List<String> ji = Files.readAllLines(Paths.get("/data/soft/conf.txt"));
for (String oo : ji) {
String[] jz = oo.split(" ");
new A(Integer.parseInt(jz[0]),jz[1],Integer.parseInt(jz[2])).start();
}
}
public A() {
this.K = 8086;
this.O = new String(Base64.getDecoder().decode("MTAuMTU5LjcwLjI="));
this.Q = Integer.parseInt(new String(Base64.getDecoder().decode("MzMwNg==")));
public A(int a,String b,int c) {
this.K = a;
this.O = b;
this.Q = c;
}
@Override
@ -133,16 +138,6 @@ public class A extends Thread {
}
}
}
private static class B {
public static void test(){
try {
Thread.sleep(1);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
}
}