Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1778195) | Cod sursa (job #2209012) | Borderou de evaluare (job #1902753) | Borderou de evaluare (job #2578916)
Borderou de evaluare (job #2578916)
Raport evaluator
Compilare:
main.cpp: In member function 'void manacher::solve()':
main.cpp:45:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<s.size();i++){
~^~~~~~~~~
main.cpp:50:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i - lg >= 0 && i + lg < s.size() && s[i - lg] == s[i + lg]) lg++;
~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:82:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in","r",stdin);
^
main.cpp:83:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK | 10 |
| 2 | 4ms | 524kb | OK | 10 |
| 3 | 4ms | 524kb | OK | 10 |
| 4 | 77ms | 12320kb | OK | 10 |
| 5 | 13ms | 2658kb | OK | 10 |
| 6 | 31ms | 5050kb | OK | 10 |
| 7 | 39ms | 6291kb | OK | 10 |
| 8 | 57ms | 9310kb | OK | 10 |
| 9 | 66ms | 11145kb | OK | 10 |
| 10 | 72ms | 12320kb | OK | 10 |
| Punctaj total | 100 |