diff --git a/190613/jake/10989.cpp b/190613/jake/10989.cpp new file mode 100644 index 0000000..40149f0 --- /dev/null +++ b/190613/jake/10989.cpp @@ -0,0 +1,22 @@ +#include +using namespace std; +int N; +int store[10001] {0,}; +int main() +{ + ios_base::sync_with_stdio(false); + cin.tie(NULL); + cin >> N; + int t; + while(N--){ + cin >> t; + store[t]++; + } + for(int i = 1; i < 10001; ++i){ + while(store[i]--){ + cout << i << "\n"; + } + } + return 0; +} +