Pagini recente »
2020-10-23-clasa-6-tema-08
|
Borderou de evaluare (job #823568)
|
Borderou de evaluare (job #329211)
|
Borderou de evaluare (job #532542)
|
Borderou de evaluare (job #733464)
Borderou de evaluare (job #733464)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:20:70: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | S[1][i] = (MOD + S[1][i - 1] + w[1][i] - w[1][poz[s[i]]]) % MOD;
| ~~~^
main.cpp:21:24: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | poz[s[i]] = i;
| ~~~^
main.cpp:30:82: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | S[id][i] = (MOD + S[id][i - 1] + w[id][i] - w[id][poz[s[i]]] ) % MOD;
| ~~~^
main.cpp:31:32: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | poz[s[i]] = i;
| ~~~^
main.cpp: In function 'void readInput()':
main.cpp:42:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | fscanf(fin, "%d %d\n", &n, &k);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:43:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | fscanf(fin, "%s", (s + 1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 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
|
241 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
|
Incorect
|
0
|
12
|
29 ms
|
249 kb
|
Incorect
|
0
|
13
|
59 ms
|
249 kb
|
Incorect
|
0
|
14
|
79 ms
|
249 kb
|
Incorect
|
0
|
15
|
99 ms
|
245 kb
|
Incorect
|
0
|
16
|
359 ms
|
245 kb
|
Incorect
|
0
|
17
|
549 ms
|
249 kb
|
Incorect
|
0
|
18
|
709 ms
|
507 kb
|
Incorect
|
0
|
19
|
879 ms
|
245 kb
|
Incorect
|
0
|
20
|
1005 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
50
|