Pagini recente » Borderou de evaluare (job #2658619) | Borderou de evaluare (job #1666057) | Borderou de evaluare (job #2904336) | Borderou de evaluare (job #2511921) | Borderou de evaluare (job #2695388)
Borderou de evaluare (job #2695388)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++){
~^~~
main.cpp:42:17: warning: array subscript has type 'char' [-Wchar-subscripts]
crt[s[i]]++;
^
main.cpp:71:32: warning: array subscript has type 'char' [-Wchar-subscripts]
nr=nr+(q-1)/2*crt[c];
^
main.cpp:72:38: warning: array subscript has type 'char' [-Wchar-subscripts]
nr=nr+(q-1)/2*crt[opus(c)];
^
main.cpp:74:34: warning: array subscript has type 'char' [-Wchar-subscripts]
nr=nr+q/2*crt[opus(c)];
^
main.cpp:75:32: warning: array subscript has type 'char' [-Wchar-subscripts]
nr=nr+(q-1)/2*crt[c];
^
main.cpp:33: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:34: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:37:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu %llu",&k,&t);
^
main.cpp:38:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
main.cpp:48:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu",&q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Partial corect | 3 |
3 | 3ms | 131kb | Partial corect | 3 |
4 | 3ms | 131kb | Partial corect | 3 |
5 | 40ms | 393kb | Partial corect | 3 |
6 | 47ms | 393kb | Partial corect | 3 |
7 | 53ms | 524kb | Partial corect | 3 |
8 | 59ms | 524kb | Partial corect | 3 |
9 | 4ms | 131kb | Corect | 5 |
10 | 4ms | 131kb | Corect | 5 |
11 | 4ms | 131kb | Corect | 5 |
12 | 4ms | 131kb | Corect | 5 |
13 | 52ms | 655kb | Partial corect | 3 |
14 | 59ms | 786kb | Corect | 5 |
15 | 65ms | 1179kb | Corect | 5 |
16 | 73ms | 1310kb | Corect | 5 |
17 | 83ms | 1441kb | Corect | 5 |
18 | 74ms | 1572kb | Corect | 5 |
19 | 98ms | 1703kb | Corect | 5 |
Punctaj total | 84 |