a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: strip battleship.h includes from student submissions

+6 -1
+6
internal/runner/runner.go
··· 92 92 if err != nil { 93 93 return err 94 94 } 95 + 96 + // Remove any #include "battleship.h" lines that conflict with battleship_light.h 97 + inputStr := string(input) 98 + inputStr = regexp.MustCompile(`(?m)^\s*#include\s+"battleship\.h"\s*$`).ReplaceAllString(inputStr, "") 99 + input = []byte(inputStr) 100 + 95 101 if err := os.WriteFile(dstPath, input, 0644); err != nil { 96 102 return err 97 103 }
-1
remote-submissions/klukas/memory_functions_klukas.cpp
··· 1 1 #include "memory_functions_klukas.h" 2 - #include "battleship.h" 3 2 #include "kasbs.h" 4 3 #include "memory.h" 5 4 #include <string>