Pagini recente » Borderou de evaluare (job #2381703) | Borderou de evaluare (job #3214793) | Borderou de evaluare (job #1271049) | Borderou de evaluare (job #2042244) | Borderou de evaluare (job #2695387)
Borderou de evaluare (job #2695387)
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 | Partial corect | 4 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 40ms | 393kb | Incorect | 0 |
| 6 | 47ms | 393kb | Incorect | 0 |
| 7 | 52ms | 524kb | Incorect | 0 |
| 8 | 60ms | 524kb | Incorect | 0 |
| 9 | 4ms | 131kb | Partial corect | 2 |
| 10 | 4ms | 131kb | Partial corect | 2 |
| 11 | 4ms | 131kb | Partial corect | 2 |
| 12 | 4ms | 131kb | Corect | 5 |
| 13 | 52ms | 655kb | Incorect | 0 |
| 14 | 58ms | 786kb | Partial corect | 2 |
| 15 | 66ms | 1179kb | Partial corect | 2 |
| 16 | 68ms | 1310kb | Partial corect | 2 |
| 17 | 84ms | 1441kb | Partial corect | 2 |
| 18 | 96ms | 1572kb | Corect | 5 |
| 19 | 105ms | 1703kb | Corect | 5 |
| Punctaj total | 33 |