Pagini recente » Borderou de evaluare (job #1387158) | Borderou de evaluare (job #2114901) | Borderou de evaluare (job #953316) | Borderou de evaluare (job #652371) | Borderou de evaluare (job #2279855)
Borderou de evaluare (job #2279855)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:13: warning: array subscript has type 'char' [-Wchar-subscripts]
vfs[s[i]]++;
^
main.cpp:31:15: warning: array subscript has type 'char' [-Wchar-subscripts]
vfcs[cs[i]]++;
^
main.cpp:32:21: warning: array subscript has type 'char' [-Wchar-subscripts]
ps[i] = vfs[s[i]];
^
main.cpp:33:24: warning: array subscript has type 'char' [-Wchar-subscripts]
pcs[i] = vfcs[cs[i]];
^
main.cpp:92:34: warning: array subscript has type 'char' [-Wchar-subscripts]
long long sol1 = nrs * vfs[ch];
^
main.cpp:93:36: warning: array subscript has type 'char' [-Wchar-subscripts]
long long sol2 = nrcs * vfcs[ch];
^
main.cpp:23:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.in", "r", stdin);
^
main.cpp:24:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.out", "w", stdout);
^
main.cpp:25:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &k, &q);
^
main.cpp:26:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp:37:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 5 |
3 | 3ms | 131kb | Corect | 5 |
4 | 3ms | 131kb | Corect | 5 |
5 | 38ms | 393kb | Partial corect | 2 |
6 | 42ms | 393kb | Partial corect | 2 |
7 | 46ms | 524kb | Partial corect | 2 |
8 | 52ms | 524kb | Partial corect | 2 |
9 | 4ms | 131kb | Partial corect | 2 |
10 | 4ms | 131kb | Partial corect | 2 |
11 | 5ms | 131kb | Partial corect | 2 |
12 | 6ms | 131kb | Partial corect | 2 |
13 | 69ms | 786kb | Partial corect | 2 |
14 | 77ms | 1048kb | Partial corect | 2 |
15 | 83ms | 1441kb | Partial corect | 2 |
16 | 114ms | 1835kb | Partial corect | 2 |
17 | 150ms | 2097kb | Partial corect | 2 |
18 | 185ms | 2228kb | Partial corect | 2 |
19 | 193ms | 2228kb | Partial corect | 2 |
Punctaj total | 55 |