diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
commit | c5fcf7179a83ef65c86c6a4a390029149e518649 (patch) | |
tree | d29ffc5b86a0d257453cedcf87d91a13d8bf3b0d /Semestr 3/pf/lista2/test.cpp | |
parent | f8a88b6a4aba1f66d04711a9330eaba49a50c463 (diff) |
Duzy commit ze smieciami
Diffstat (limited to 'Semestr 3/pf/lista2/test.cpp')
-rw-r--r-- | Semestr 3/pf/lista2/test.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Semestr 3/pf/lista2/test.cpp b/Semestr 3/pf/lista2/test.cpp deleted file mode 100644 index 59d0a45..0000000 --- a/Semestr 3/pf/lista2/test.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include <iostream> - -using namespace std; -int tab[100]; -int main() -{ - int x,n,j; - for(int i=0;i<=1000;i++) - { - cin>>x; - if(x==-1) - { - break; - } - tab[x]++; - } - for(int i=0;i<=100;i++) - { - j=0; - while(j<tab[i]){ - cout<<i<<" "; - j++; - } - - } - return 0; -}
\ No newline at end of file |