RedPanda-CPP/RedPandaIDE/problems/problemcasevalidator.h

17 lines
375 B
C
Raw Normal View History

2021-11-01 22:33:16 +08:00
#ifndef PROBLEMCASEVALIDATOR_H
#define PROBLEMCASEVALIDATOR_H
#include "ojproblemset.h"
class ProblemCaseValidator
{
public:
ProblemCaseValidator();
bool validate(POJProblemCase problemCase,bool ignoreSpaces);
private:
bool equalIgnoringSpaces(const QString& s1, const QString& s2);
QStringList split(const QString& s);
2021-11-01 22:33:16 +08:00
};
#endif // PROBLEMCASEVALIDATOR_H