Pagini recente » Borderou de evaluare (job #898763) | Borderou de evaluare (job #576140) | Borderou de evaluare (job #3233758) | Borderou de evaluare (job #2538142) | Borderou de evaluare (job #1226962)
Borderou de evaluare (job #1226962)
Raport evaluator
Compilare:
user.cpp: In function ‘void fix()’:
user.cpp:29:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!S[c].empty()) {
^
user.cpp:30:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp_sol.push_back(n - S[c].front().first);
^
user.cpp:31:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:32:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[c].pop_back();
^
user.cpp: In function ‘int main()’:
user.cpp:59:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (S[c].empty()) {
^
user.cpp:63:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pair<int, int> chosen = *(S[c].begin());
^
user.cpp:65:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:65:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:66:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[c].pop_back();
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici5.in", "r", stdin);
^
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici5.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 416kb | OK | 10 | 0 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 440kb | OK | 10 |
5 | 8ms | 660kb | Incorect | 0 |
6 | 8ms | 628kb | OK | 10 |
7 | 8ms | 620kb | OK | 10 |
8 | 88ms | 1932kb | OK | 10 |
9 | 88ms | 2196kb | OK | 10 |
10 | 88ms | 2464kb | Incorect | 0 |
Punctaj total | 0 |