Pagini recente »
Borderou de evaluare (job #133213)
|
Borderou de evaluare (job #188970)
|
Borderou de evaluare (job #762570)
|
Borderou de evaluare (job #256368)
|
Borderou de evaluare (job #692762)
Borderou de evaluare (job #692762)
Raport evaluator
Compilare:
main.cpp: In function 'void suffix_array()':
main.cpp:50:16: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | cnt[s[i]]++;
| ~~~^
main.cpp:54:20: warning: array subscript has type 'char' [-Wchar-subscripts]
54 | p[--cnt[s[i]]] = i;
| ~~~^
main.cpp: In function 'int main()':
main.cpp:139:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
139 | freopen("subunic.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:140:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
140 | freopen("subunic.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:143:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
143 | scanf("%s", s);
| ~~~~~^~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
1 ms
|
241 kb
|
OK
|
10
|
4
|
2 ms
|
241 kb
|
OK
|
10
|
5
|
15 ms
|
491 kb
|
OK
|
10
|
6
|
13 ms
|
765 kb
|
OK
|
10
|
7
|
39 ms
|
1425 kb
|
OK
|
10
|
8
|
87 ms
|
1814 kb
|
OK
|
10
|
9
|
97 ms
|
2207 kb
|
OK
|
10
|
10
|
65 ms
|
2191 kb
|
OK
|
10
|
Punctaj total
|
100
|