#include <iostream>
using namespace std;
int main() {
int punkty = 93;
cout << "Podaj liczbę punktów: " << punkty << endl;
cin >> punkty;
if(punkty >= 0 && punkty <=50) {
cout << "Ocena: ndst" << endl;
} else if(punkty >=51 && punkty <=60) {
cout << "Ocena: mrn" << endl;
} else if(punkty >=61 && punkty <=70) {
cout << "Ocena: dst" << endl;
} else if(punkty >=71 && punkty <=80) {
cout << "Ocena: db" << endl;
} else if (punkty >=81 && punkty <=90) {
cout << "Ocena: bdb" << endl;
} else if (punkty >=91 && punkty <=100) {
cout << "Ocena: cel" << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKICAgIGludCBwdW5rdHkgPSA5MzsKICAgIGNvdXQgPDwgIlBvZGFqIGxpY3pixJkgcHVua3TDs3c6ICIgPDwgcHVua3R5IDw8IGVuZGw7CiAgICBjaW4gPj4gcHVua3R5OyAKCiAgICBpZihwdW5rdHkgPj0gMCAmJiBwdW5rdHkgPD01MCkgewogICAgICAgIGNvdXQgPDwgIk9jZW5hOiBuZHN0IiA8PCBlbmRsOwogICAgfSBlbHNlIGlmKHB1bmt0eSA+PTUxICYmIHB1bmt0eSA8PTYwKSB7CiAgICAgICAgY291dCA8PCAiT2NlbmE6IG1ybiIgPDwgZW5kbDsKICAgIH0gZWxzZSBpZihwdW5rdHkgPj02MSAmJiBwdW5rdHkgPD03MCkgewogICAgICAgIGNvdXQgPDwgIk9jZW5hOiBkc3QiIDw8IGVuZGw7IAogICAgfSBlbHNlIGlmKHB1bmt0eSA+PTcxICYmIHB1bmt0eSA8PTgwKSB7CiAgICAgICAgY291dCA8PCAiT2NlbmE6IGRiIiA8PCBlbmRsOwogICAgfSBlbHNlIGlmIChwdW5rdHkgPj04MSAmJiBwdW5rdHkgPD05MCkgewogICAgICAgIGNvdXQgPDwgIk9jZW5hOiBiZGIiIDw8IGVuZGw7CiAgICB9IGVsc2UgaWYgKHB1bmt0eSA+PTkxICYmIHB1bmt0eSA8PTEwMCkgewogICAgICAgIGNvdXQgPDwgIk9jZW5hOiBjZWwiIDw8IGVuZGw7CiAgICB9CiAgICAKICAgICAgICAKICAgIHJldHVybiAwOwp9