Pagini recente » Borderou de evaluare (job #963247) | Borderou de evaluare (job #479795) | Borderou de evaluare (job #776033) | Borderou de evaluare (job #944645) | Borderou de evaluare (job #2920397)
Borderou de evaluare (job #2920397)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:21:20: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | int ans=s[a[px]][px];
| ^
main.cpp:58:22: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | ans+=ib[a[px]]*inv+nb[a[px]]*nor;
| ^
main.cpp:58:36: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | ans+=ib[a[px]]*inv+nb[a[px]]*nor;
| ^
main.cpp:62:22: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | ans+=ib[a[px]]*nor+nb[a[px]]*inv;
| ^
main.cpp:62:36: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | ans+=ib[a[px]]*nor+nb[a[px]]*inv;
| ^
main.cpp:65:32: warning: array subscript has type 'char' [-Wchar-subscripts]
65 | g<<(!isinv?a[px]:(opp[a[px]]))<<' '<<ans<<'\n';
| ^
main.cpp: In function 'int32_t main()':
main.cpp:78:16: warning: array subscript has type 'char' [-Wchar-subscripts]
78 | nb[a[i]]++;
| ^
main.cpp:79:20: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | ib[opp[a[i]]]++;
| ^
main.cpp:79:20: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | ib[opp[a[i]]]++;
| ~~~~~~~~^
main.cpp:87:15: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | s[a[i]][i]++;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 6729kb | Corect | 10 |
| 2 | 16ms | 6598kb | Partial corect | 2 |
| 3 | 3ms | 6598kb | Partial corect | 2 |
| 4 | 30ms | 40329kb | Partial corect | 2 |
| 5 | 60ms | 45297kb | Partial corect | 2 |
| 6 | 97ms | 45600kb | Partial corect | 2 |
| 7 | 61ms | 45846kb | Partial corect | 2 |
| 8 | 70ms | 46194kb | Partial corect | 2 |
| 9 | 59ms | 44924kb | Partial corect | 2 |
| 10 | 32ms | 45170kb | Partial corect | 2 |
| 11 | 57ms | 44949kb | Partial corect | 2 |
| 12 | 31ms | 44875kb | Partial corect | 2 |
| 13 | 72ms | 13279kb | Partial corect | 2 |
| 14 | 93ms | 52826kb | Partial corect | 2 |
| 15 | 123ms | 60731kb | Partial corect | 2 |
| 16 | 141ms | 64159kb | Partial corect | 2 |
| 17 | 151ms | 65486kb | Partial corect | 2 |
| 18 | 105ms | 65556kb | Memory limit exceeded | 0 |
| 19 | 166ms | 65552kb | Memory limit exceeded | 0 |
| Punctaj total | 42 |