Submission #68879
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #include<bits/stdc++.h> using namespace std; #define ll long long #define all(x) x.begin(),x.end() int main(){ string s;cin>>s; bool b= true ; while (b){ if (s== "Apple" ) cout<< "Apple is my greatest!\n" ; else if (s== "en" ) cout<< "Hello World!\n" ; else if (s== "fr" ) cout<< "Bonjour ke monde!\n" ; else if (s== "de" ) cout<< "Hallo Welt!\n" ; else if (s== "es" ) cout<< "Hola Mundo!\n" ; else if (s== "pt" ) cout<< "Ola' Mundo!\n" ; else if (s== "nl" ) cout<< "Hallo Wereld!\n" ; else if (s== "cs" ) cout<< "Ahoj sve^te!\n" ; else if (s== "ga" ) cout<< "Dia duit an Domhain!\n" ; else if (s== "eo" ) cout<< "Saluton Mondo!\n" ; else if (s== "tr" ) cout<< "Selam Du\"nya!\n" ; else if (s== "sw" ) cout<< "Salamu, Dunia!\n" ; else if (s== "af" ) cout<< "Hello We^reld!\n" ; else if (s== "ms" ) cout<< "Hai dunia!\n" ; else if (s== "uz" ) cout<< "Salom Dunyo!\n" ; else if (s== "ja" ) cout<< "nadesiko\n" ; else cout<< "import __hello__\n" ; cin>>s; if (s== "Suomi" ) b= false ; } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0976 - 国際主義 |
ユーザー名 | ei2109 |
投稿日時 | 2021-10-21 15:49:57 |
言語 | C++17 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 1106 Byte |
最大実行時間 | 26 ms |
最大メモリ使用量 | 708 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in1 | AC | 23 ms | 604 KB |
1
|
in2 | AC | 21 ms | 708 KB |
1
|
in3 | AC | 26 ms | 552 KB |
1
|
in4 | AC | 23 ms | 656 KB |
1
|
in5 | AC | 21 ms | 632 KB |
1
|