Skip to content
Snippets Groups Projects
Commit 2f0f5776 authored by Wu's avatar Wu
Browse files

submission

parent d374b4c5
Branches master
No related tags found
No related merge requests found
Pipeline #132407 failed
......@@ -187,15 +187,13 @@ func main() {
if(len(memMap) == numMem){
ready = 1
fmt.Println("READY")
os.Stdout.Sync()
os.Stdin.Sync()
break
}
}
} else {// ready
for {
var chatText string
scanner := bufio.NewScanner(os.Stdin)
if scanner.Scan() {
chatText = scanner.Text()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment