diff options
| author | Andrew <saintruler@gmail.com> | 2021-02-11 00:24:49 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2021-02-11 00:24:49 +0400 |
| commit | b3f28bca3da03a81fb7a72f85f563360d4f13b0f (patch) | |
| tree | 2e91e9f7eb85abd59f09c78f905b769b7199bd16 /structures/task14.cpp | |
| parent | 17a4c9f6e0380aae2366b33628fae0ef722ec762 (diff) | |
Добавил комментариев.
Diffstat (limited to 'structures/task14.cpp')
| -rw-r--r-- | structures/task14.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/structures/task14.cpp b/structures/task14.cpp index fcd9d63..6804a60 100644 --- a/structures/task14.cpp +++ b/structures/task14.cpp @@ -3,7 +3,7 @@ using namespace std; -void result(queue *&h, queue *&t, queue *&hr, queue *&tr) +void solve(queue *&h, queue *&t, queue *&hr, queue *&tr) { while (h) { @@ -35,7 +35,7 @@ int main() queue *head_res = NULL; queue *tail_res = NULL; - result(head, tail, head_res, tail_res); + solve(head, tail, head_res, tail_res); while (head_res) cout << char(pop(head_res, tail_res)) << " "; cout << endl; |