Pagini recente »
Borderou de evaluare (job #581505)
|
Borderou de evaluare (job #266905)
|
Borderou de evaluare (job #156827)
|
Borderou de evaluare (job #209534)
|
Borderou de evaluare (job #692761)
Borderou de evaluare (job #692761)
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:136:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
136 | freopen("subunic.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:137:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
137 | freopen("subunic.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:140:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
140 | scanf("%s", s);
| ~~~~~^~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
110 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
1 ms
|
237 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
11 ms
|
507 kb
|
OK
|
10
|
6
|
19 ms
|
770 kb
|
OK
|
10
|
7
|
59 ms
|
1429 kb
|
OK
|
10
|
8
|
449 ms
|
1822 kb
|
OK
|
10
|
9
|
256 ms
|
2215 kb
|
OK
|
10
|
10
|
70 ms
|
2195 kb
|
OK
|
10
|
Punctaj total
|
100
|