Job 16445

Owner
Oncescu Costin Andrei
Problem
Permudrome
Source
2.27KB
Result
Time Limit Exceeded

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:24:1: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
 gets (sir + 1), N = strlen (sir + 1), mod = 666013;
 ^
prog.cpp:24:14: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
 gets (sir + 1), N = strlen (sir + 1), mod = 666013;
              ^
prog.cpp:31:29: warning: array subscript has type 'char' [-Wchar-subscripts]
     sir[i] -= 'a', ap[sir[i]] ++;
                             ^
prog.cpp:37:11: warning: array subscript has type 'char' [-Wchar-subscripts]
     ap2[c1][c2] = ap2[c2][c1] = 1;
           ^
prog.cpp:37:15: warning: array subscript has type 'char' [-Wchar-subscripts]
     ap2[c1][c2] = ap2[c2][c1] = 1;
               ^
prog.cpp:37:25: warning: array subscript has type 'char' [-Wchar-subscripts]
     ap2[c1][c2] = ap2[c2][c1] = 1;
                         ^
prog.cpp:37:29: warning: array subscript has type 'char' [-Wchar-subscripts]
     ap2[c1][c2] = ap2[c2][c1] = 1;
                             ^
/tmp/ccgn2Jtj.o: In function `main':
prog.cpp:(.text.startup+0x16): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Ok1.2149s
2Ok0.5477s
3Ok0.5482s
4Ok0.5478s
5Ok0.5488s
6Ok0.5518s
7Ok0.5506s
8Ok0.5493s
9Ok0.5480s
10Ok0.5492s
11Ok0.5461s
12Time Limit Exceeded2.2705s
Questions?

Sponsors Gold