Pagini recente » Borderou de evaluare (job #2361801) | Borderou de evaluare (job #1630077) | Borderou de evaluare (job #2442866) | Borderou de evaluare (job #2748445) | Borderou de evaluare (job #2382337)
Borderou de evaluare (job #2382337)
Raport evaluator
Compilare:
main.cpp: In function 'Str solve(int, int)':
main.cpp:27:25: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, -INF); }
^
main.cpp:27:34: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, -INF); }
^
main.cpp:29:25: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, cst[str[ri]][str[le]]); } }
^
main.cpp:29:34: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, cst[str[ri]][str[le]]); } }
^
main.cpp:29:60: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, cst[str[ri]][str[le]]); } }
^
main.cpp:29:69: warning: array subscript has type 'char' [-Wchar-subscripts]
ans = Str(cst[str[le]][str[ri]], -INF, -INF, cst[str[ri]][str[le]]); } }
^
main.cpp:39:38: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[br1 ? str[prv[md]] : str[md]][bl2 ? str[nxt[md + 1]] : str[md + 1]]); } } } } }
^
main.cpp:39:76: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[br1 ? str[prv[md]] : str[md]][bl2 ? str[nxt[md + 1]] : str[md + 1]]); } } } } }
^
main.cpp:46:32: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[bc ? str[ri] : str[le]][bl ? str[nxt[le + 1]] : str[le + 1]] +
^
main.cpp:46:69: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[bc ? str[ri] : str[le]][bl ? str[nxt[le + 1]] : str[le + 1]] +
^
main.cpp:47:45: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[br ? str[prv[ri - 1]] : str[ri - 1]][bc ? str[le] : str[ri]]); } } } }
^
main.cpp:47:69: warning: array subscript has type 'char' [-Wchar-subscripts]
cst[br ? str[prv[ri - 1]] : str[ri - 1]][bc ? str[le] : str[ri]]); } } } }
^
main.cpp: In function 'int main()':
main.cpp:51:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papuci.in", "r", stdin);
^
main.cpp:52:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papuci.out", "w", stdout);
^
main.cpp:53:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, m; scanf("%d %d %s", &n, &m, str + 1);
^
main.cpp:58:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cst[i][j]); } }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | OK | 5 | 5 |
2 | 3ms | 131kb | OK | 5 | 5 |
3 | 3ms | 131kb | OK | 5 | 5 |
4 | 3ms | 131kb | OK | 5 | 5 |
5 | 3ms | 131kb | OK | 5 | 5 |
6 | 3ms | 131kb | OK | 5 | 5 |
7 | 3ms | 131kb | OK | 5 | 5 |
8 | 3ms | 131kb | OK | 5 | 5 |
9 | 3ms | 131kb | OK | 5 | 5 |
10 | 3ms | 262kb | OK | 5 | 5 |
11 | 11ms | 262kb | OK | 5 | 5 |
12 | 24ms | 524kb | OK | 5 | 5 |
13 | 36ms | 1310kb | OK | 5 | 5 |
14 | 27ms | 1310kb | OK | 5 | 5 |
15 | 49ms | 3145kb | OK | 5 | 5 |
16 | 57ms | 8519kb | OK | 5 | 25 |
17 | 69ms | 8650kb | OK | 5 |
18 | 116ms | 3014kb | OK | 5 |
19 | 101ms | 5242kb | OK | 5 |
20 | 91ms | 3801kb | OK | 5 |
Punctaj total | 100 |