Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7118 - Гараг |
Долоо хоногийн дугаар өгөгдөхөд харгалзах гарагийг англиар хэвлэ. Эхний үсгийг л томоор бичнэ.
Input
Натурал тоо. 1<=n<=7.
Output
Гараг.
Example
Input: 5 Output: Friday
Нэмсэн: | Bataa |
Огноо: | 2011-06-21 |
Хугацааны хязгаарлалт: | 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
|
||||||||
2023-01-07 09:49:34
iim bodlogon deer %d gee martaj ywuulaad uls dayar shivshgee tarih gejdee yoy |
||||||||
2022-12-09 08:44:07
za teheer minii mongolin ard tume mine ta hed mine uhaarlin 7 honogdo saihan untahgui bas 3 hicheldee muu garch huucin surguuli ruga ywah iin udnur devshiltei uud2 devshuulen menciley |
||||||||
2022-11-15 09:05:15
KU2 bitgi huul |
||||||||
2022-10-10 03:39:00
#include<iostream> using namespace std; int main () { int a; cin>>a; if (a==1){ cout<<"Monday"; } if (a==2){ cout<<"Tuesday"; } if (a==3){ cout<<"Wednesday"; } if (a==4){ cout<<"Thursday"; } if (a==5){ cout<<"Friday"; } if (a==6){ cout<<"Saturday"; } if (a==7){ cout<<"Sunday"; } } |
||||||||
2022-06-21 12:24:22
medku ] |
||||||||
2022-04-25 15:55:33
puu pzda ymr munag too vee |
||||||||
2022-04-25 15:54:57
#include<iostream> using namespace std; main(){ int x; cin >> x; if(x==1){ cout<<"Monday"<<endl; } else{ if(x==2){ cout<<"Tuesday"<<endl; } else{ if(x==3){ cout<<"Wednesday"<<endl; } else{ if(x==4){ cout<<"Thursday"<<endl; } else{ if(x==5){ cout<<"Friday"<<endl; } else{ if(x==6){ cout<<"Sturday"<<endl; } else{ if(x==7){ cout<<"Sunday"<<endl; } } } } } } } return 0; } |
||||||||
2022-04-24 18:04:41
#include<iostream> using namespace std; int main() { int a; cin>>a; switch(a) { case 1:cout<<"Monday";break; case 2:cout<<"Tuesday";break; case 3:cout<<"wednesday";break; case 4:cout<<"Thursday";break; case 5:cout<<"Friday";break; case 6:cout<<"Saturday";break; case 7:cout<<"Sunday";break; } } |
||||||||
2022-04-24 18:04:28
#include<iostream> using namespace std; int main() { int a; cin>>a; switch(a) { case 1:cout<<"Monday";break; case 2:cout<<"Tuesday";break; case 3:cout<<"wednesday";break; case 4:cout<<"Thursday";break; case 5:cout<<"Friday";break; case 6:cout<<"Saturday";break; case 7:cout<<"Sunday";break; } } |
||||||||
2022-01-14 11:33:26
#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if(a==1) cout << "Monday"; if(a==2) cout << "Tuesday"; if(a==3) cout << "Wednesday"; if(a==4) cout << "Thursday"; if(a==5) cout << "Friday"; if(a==6) cout << "Saturday"; if(a==7) cout << "Sunday"; if(a!=1 && a!=2 && a!=3 && a!=4 && a!=5 && a!=6 && a!=7) cout << "ur question cannot be answered bitch"; return 0; } |