Pagini recente »
Borderou de evaluare (job #795027)
|
Clasament 2021-10-20-clasa-7-tema-05
|
Borderou de evaluare (job #127723)
|
Clasament 2021-04-17-clasa-6-tema-29
|
Borderou de evaluare (job #733526)
Borderou de evaluare (job #733526)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:27:50: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | S[1][i] = S[1][i - 1] - w[poz[s[i]]] + w[i];
| ~~~^
main.cpp:29:24: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | poz[s[i]] = i;
| ~~~^
main.cpp:38:60: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | S[id][i] = S[id][i - 1] - w[poz[s[i]]] + w[i];
| ~~~^
main.cpp:40:32: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | poz[s[i]] = i;
| ~~~^
main.cpp: In function 'void readInput()':
main.cpp:51:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
51 | fscanf(fin, "%d %d\n", &n, &k);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:52:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | fscanf(fin, "%s", (s + 1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
1 ms
|
249 kb
|
OK
|
5
|
12
|
19 ms
|
245 kb
|
OK
|
5
|
13
|
29 ms
|
249 kb
|
OK
|
5
|
14
|
39 ms
|
249 kb
|
OK
|
5
|
15
|
49 ms
|
249 kb
|
OK
|
5
|
16
|
199 ms
|
245 kb
|
OK
|
5
|
17
|
295 ms
|
249 kb
|
OK
|
5
|
18
|
397 ms
|
245 kb
|
OK
|
5
|
19
|
468 ms
|
249 kb
|
OK
|
5
|
20
|
538 ms
|
249 kb
|
OK
|
5
|
Punctaj total
|
100
|