예제 #1
0
int main(void) {
	long long n;
	readInputData(&n);

	writeOutputData(countPrimes(n), n);

	return 0;
}
예제 #2
0
Parser::Parser( const QString &df )
{
    openFileSuccess = checkDataFileOpen(df);
    inputData = "";
    if(openFileSuccess){ //check that string passed is valid
        openFileSuccess = readInputData();
        openFileSuccess = writeOutputData();
    }
}