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: use exact function suffix case from student code

+2 -2
+1 -2
internal/runner/runner.go
··· 367 367 368 368 func generateHeader(filename, prefix string) string { 369 369 guard := strings.ToUpper(strings.Replace(filename, ".", "_", -1)) 370 - functionSuffix := strings.ToUpper(prefix[0:1]) + prefix[1:] 371 370 372 371 return fmt.Sprintf(`#ifndef %s 373 372 #define %s ··· 381 380 void updateMemory%s(int row, int col, int result, ComputerMemory &memory); 382 381 383 382 #endif 384 - `, guard, guard, functionSuffix, functionSuffix, functionSuffix) 383 + `, guard, guard, prefix, prefix, prefix) 385 384 } 386 385 387 386 func generateMatchMain(prefix1, prefix2, suffix1, suffix2 string) string {
+1
remote-submissions/klukas/memory_functions_klukas.cpp
··· 1 + #include "battleship.h" 1 2 #include "memory_functions_klukas.h" 2 3 #include "kasbs.h" 3 4 #include "memory.h"