Prechádzať zdrojové kódy

Do not output the number of people

Vadim Markovtsev 7 rokov pred
rodič
commit
fbe766ffdc
2 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 0 1
      cmd/hercules/main.go
  2. 1 1
      labours.py

+ 0 - 1
cmd/hercules/main.go

@@ -275,7 +275,6 @@ func main() {
 	}
 	if with_people {
 		fmt.Print("people\n")
-		fmt.Printf("%d\n", len(people_statuses))
 		for key, val := range people_statuses {
 			fmt.Printf("%d: ", key)
 			printStatuses(val, people_ids[key])

+ 1 - 1
labours.py

@@ -66,7 +66,7 @@ def read_input(args):
             files_contents.append(contents[i:i + len(main_contents)])
             i += len(main_contents)
     if i < len(contents) and contents[i] == "people\n":
-        i += 2
+        i += 1
         while contents[i] != "\n":
             people_contents.append(contents[i:i + len(main_contents)])
             i += len(main_contents)