Pagini recente » Borderou de evaluare (job #2799087) | Borderou de evaluare (job #1841446) | Borderou de evaluare (job #2454598) | Borderou de evaluare (job #1045160) | Borderou de evaluare (job #1226963)
Borderou de evaluare (job #1226963)
Raport evaluator
Compilare:
user.cpp: In function ‘void fix()’:
user.cpp:30:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!S[c].empty()) {
^
user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp_sol.push_back(n - S[c].front().first);
^
user.cpp:32:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:32:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:33:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[c].pop_back();
^
user.cpp: In function ‘int main()’:
user.cpp:60:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (S[c].empty()) {
^
user.cpp:64:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pair<int, int> chosen = *(S[c].begin());
^
user.cpp:66:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:66:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pop_heap(S[c].begin(), S[c].end());
^
user.cpp:67:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[c].pop_back();
^
user.cpp:44: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:45: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 | 424kb | OK | 10 | 0 |
2 | 0ms | 416kb | OK | 10 |
3 | Depăşit | 400kb | Time limit exceeded. | 0 |
4 | 0ms | 444kb | OK | 10 |
5 | Depăşit | 592kb | Time limit exceeded. | 0 |
6 | 8ms | 620kb | OK | 10 |
7 | 8ms | 624kb | OK | 10 |
8 | 92ms | 1944kb | OK | 10 |
9 | 92ms | 1940kb | OK | 10 |
10 | Depăşit | 2164kb | Time limit exceeded. | 0 |
Punctaj total | 0 |