ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1297. Palindrome

To Admin - Weak Tests
Posted by bayram 3 Oct 2013 16:01
There are some AC solutions which are actually O(N^3).
Here is the test when some of them fail (3.42s):
#include <iostream>
#include <fstream>
using namespace std;

int main() {
    ofstream fout("test.txt");

    for (int i = 0; i < 1000; i++)
        fout << (char)(i%26+'a');

    return 0;
}
Re: To Admin - Weak Tests
Posted by Sandro (USU) 6 Oct 2013 15:46
What is the example of such AC solution (submit ID or source code)?