Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit f2c3397

Browse files
committed
remove dp
1 parent a3d2b6f commit f2c3397

File tree

1 file changed

+3
-3
lines changed
  • competition/13-time-traveler/src

1 file changed

+3
-3
lines changed

competition/13-time-traveler/src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ std::pair<std::string, std::vector<long long>> generateTestcases(std::mt19937& r
115115
input << "\n";
116116

117117
long long greedyResult = regretableGreedy(prices);
118-
if (size <= 10000){
119-
assert(greedyResult == dynamicProgramming(prices) && "Verifier's Greedy solution failed!");
120-
}
118+
// if (size <= 10000){
119+
// // assert(greedyResult == dynamicProgramming(prices) && "Verifier's Greedy solution failed!");
120+
// }
121121

122122
expectedOutput.push_back(greedyResult);
123123
}

0 commit comments

Comments
 (0)