Skip to content

バブルソート 2 (Bubble Sort 2)

UnratedFunction
日本語

Language

Contribute a translation
Time limit
5000 ms
Memory limit
512 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

問題文 1ページ

問題文 2ページ

Implementation

実装上の注意

Examples

Sample input 1
4 2
1 2 3 4
0 3
2 1
Sample output 1
1
2
Sample input 2
11 12
11 4 13 6 7 3 5 12 4 10 11
8 11
4 4
6 20
0 2
7 2
3 18
5 9
0 6
8 8
9 4
0 8
6 18
Sample output 2
5
5
5
4
6
6
6
7
7
7
7
7

Notes

Tags

No tags yet

Source

This problem accepts only these languages.

C++20