Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7117 - Тоон үнэлгээнээс үсгэнд

Өгөгдсөн тоон үнэлгээг үсгэн үнэлгээнд шилжүүл.

Input

Тоон үнэлгээ 100-аас ихгүй эерэг бүхэл тоогоор өгөгдөнө.

Output

Тоон үнэлгээ 89-өөс их бол А, 79-өөс их В, 69-өөс их бол С, 59-өөс их бол D бусад тохиолдолд F үсгэн дүнг хэвлэ.

Example

Input:
84

Output:
В

Нэмсэн:Bataa
Огноо:2011-06-20
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-12-03 10:51:52
hhhhhhaaa

Last edit: 2024-12-03 10:52:08
2024-11-06 12:26:50

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⣀⣀⡄⢦⡤⠠⠤⠤⠤⠶⡦⢤⡀⠀⠀⠀⣤⢴⡞⠚⣖⠒⠒⠒⠒⠒⠂⠠⠤⠄⢠
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠴⣺⡽⠛⠉⠙⢋⣼⣷⡾⢳⡀⠀⠀⠀⠀⢠⣦⣌⠳⡄⠀⣼⣿⢷⡶⠾⠆⣰⡾⠿⠻⠾⠟⠚⠓⡼
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⢾⠁⡜⠁⣀⠄⢀⣴⠋⢰⣿⣍⡂⠁⠀⣠⠟⠀⠸⡌⠛⢟⣿⣷⠿⣇⢀⣤⣀⣀⣍⡉⠠⣄⣠⣤⣄⣍⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡃⠀⢸⡴⠊⠀⢠⠋⡇⠀⢠⡿⠳⡁⠀⠀⠻⢖⣠⠀⠹⠲⣈⣿⣯⠀⢸⠈⢙⡉⠉⠉⠉⠀⠈⠠⣤⠀⠠⠖
⠀⠀⠀⠀⠀⠀⠀⠀⠀⡏⡷⠀⠘⠀⠀⠀⠇⠀⠁⠀⠘⢿⣦⠀⠀⠀⠀⠀⣹⣦⣄⠀⠹⣿⠟⠠⢬⡇⠘⡷⠶⠆⠰⠟⠟⠛⠃⢀⣰⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠶⣿⠷⣄⠀⠀⠀⣈⡄⠀⠀⠀⠀⡸⢙⣦⣤⣤⣴⣚⡛⠙⠚⢷⣶⠁⠀⠀⠀⠙⠤⠒⠓⠓⠒⠒⠊⢉⣉⠥⠤⠂
⠀⠀⠀⠀⠤⠀⠀⠀⣀⣬⣦⣼⡙⡆⠀⠙⡏⠀⠀⠀⣀⡴⠟⠛⠛⠛⠛⠻⠿⣿⣶⣬⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠉⠀⠀⠀⠀
⠀⠀⠀⠀⢀⣠⣴⣾⣿⠿⠛⠳⡇⠘⠦⣀⣈⣷⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀
⠀⠀⠀⣠⣿⣿⠟⠋⠀⢀⡀⠤⠙⢛⣷⠾⠛⠻⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣷⡀⠀⠀⣀⡤⢤⣀⣀⠘⡄⠀⣤⣀⣀
⠀⠀⣴⣿⡿⠁⠀⢀⠔⠉⠀⠀⠀⣾⣃⣀⣀⣤⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣟⣛⣿⡀⠘⠯⠽⠷⣿⣿⠋⠀⠉
⠀⢸⣿⡟⠀⠀⢠⠎⠀⠀⠀⠀⠀⠻⣷⣿⣟⣹⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⣷⠀⠙⡆⠀⠀⢾⠻⣏⠀⠀⠀
⠀⣾⡿⠖⠀⠀⠊⠀⠀⠀⠀⠀⠀⠀⠈⠙⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⡁⡄⠀⡇⠀⣰⡏⠀⣿⢆⠀⠀
⠀⣿⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠀⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣷⣀⣴⣷⣴⣿⠟⠉⠹⠾⠟⠛
⠀⢹⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣆⠀⢹⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡏⠉⠭⠤⠤⠴⠒⠒⢒⠒⠋⠉
⠀⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣄⠘⣆⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣟⣀⣀⣀⠤⠤⠤⢴⡶⠟⠒⠚⠛
⠀⠘⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⢬⡾⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠁⠀⠀⠀⠀⢠⡖⠉⠀⠀⠀⠀⠀
⠀⠀⠈⢷⠀⠀⠀⠀⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠇⠀⠀⠀⠀⠀⠀⢳⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠈⢧⠀⠀⠀⠀⠑⢤⡀⠀⠀⠀⠀⠀⠀⠀⠘⡄⠀⠀⠀⠀⠀⡠⠀⠀⠀⠀⠀⠀⠀⠀⡜⠀⠀⣀⣀⣀⣀⠠⠼⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠈⠳⡀⠀⠀⠀⠀⠉⠲⢄⡀⠀⠀⠀⠀⠀⢱⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⣰⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢻⢦⡀⠀⠀⠀⠀⠀⠈⠒⠄⠀⠀⠀⣸⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣈⡇⠙⢦⣀⠀⠀⠀⠀⠀⠀⢀⣠⠼⢻⢻⣟⠲⢤⣤⣤⣤⣤⡤⠤⠖⢻⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⢀⡠⠔⠚⠉⠀⢱⠀⠈⣿⣷⡤⢤⡤⠴⠾⡛⠁⣴⠃⣸⣿⡗⠀⠀⠀⠀⠀⠀⠀⠀⢨⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠉⠀⠀⠀⠀⠀⠀⠸⡄⠀⣿⠈⣷⣄⣀⠀⠀⠙⠞⠁⡼⣻⣿⣧⡰⡄⠀⠀⠀⢀⣤⣴⣟⣹⣶⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
2024-10-28 16:48:14
#include <bits/stdc++.h>
using namespace std ;
int main (){
int a, A,B,C,F,D;
cin>>a;
if (a>=89){
cout<<"A"<<endl;
}else{
if(a>=79){
cout<<"B"<<endl;
}else{
if(a>=69){
cout<<"C"<<endl;
}else{
if(a>=59){
cout<<"D"<<endl;
}else{
if(a>=0){
cout<<"F"<<endl;
}
}
}
}
}















return 0;

} huultsgaa huurnuude
2024-10-07 13:48:45
#include <iostream>
using namespace std;

int main() {
int n;
cin>>n;
if(n>=89){
cout<<"A";
return 0;
}
if(n>=79){
cout<<"B";
return 0;
}
if(n>=69){
cout<<"C";
return 0;
}
if(n>=59){
cout<<"D";
return 0;
}
else{
cout<<"F";
}
}
sigma
2024-10-07 13:10:28
cock

Last edit: 2024-10-07 13:13:56
2024-05-27 06:20:39
I got lego pen :D
2024-04-15 03:41:37
gangmemberiin baruun gar
2024-03-29 03:24:33
eeewwwwwwwwwwwwwwwww otgonbayraaaa
2024-03-29 03:24:18
otgonbayr mal untahaa boli zavaan yum be
2024-03-28 03:32:02
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>

using namespace std;

// Headers
string toString (double);
int toInt (string);
double toDouble (string);

int main() {
int a;

cin >> a;
if (a > 89) {
cout << "A" << endl;
} else {
if (a > 79) {
cout << "B" << endl;
} else {
if (a > 69) {
cout << "C" << endl;
} else {
if (a > 59) {
cout << "D" << endl;
} else {
cout << "F" << endl;
}
}
}
}
return 0;
}

// The following implements type conversion functions.
string toString (double value) { //int also
stringstream temp;
temp << value;
return temp.str();
}

int toInt (string text) {
return atoi(text.c_str());
}

double toDouble (string text) {
return atof(text.c_str());
}
anir
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.