Submission #42458


ソースコード

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
#include<bits/stdc++.h>
using namespace std;
int main(){
while(1) {
string s;
cin >> s;
if(s == "Suomi") break;
if(s == "en") cout << "Hello World!" << endl;
if(s == "fr") cout << "Bonjour ke monde!" << endl;
if(s == "de") cout << "Hallo Welt!" << endl;
if(s == "es") cout << "Hola Mundo!" << endl;
if(s == "pt") cout << "Ola' Mundo!" << endl;
if(s == "nl") cout << "Hallo Wereld!" << endl;
if(s == "cs") cout << "Ahoj sve^te!" << endl;
if(s == "ga") cout << "Dia duit an Domhain!" << endl;
if(s == "eo") cout << "Saluton Mondo!" << endl;
if(s == "tr") cout << "Selam Du\"nya!" << endl;
if(s == "sw") cout << "Salamu, Dunia!" << endl;
if(s == "af") cout << "Hello We^reld!" << endl;
if(s == "ms") cout << "Hai dunia!" << endl;
if(s == "uz") cout << "Salom Dunyo!" << endl;
if(s == "ja") cout << "nadesiko" << endl;
if(s == "python") cout << "import __hello__" << endl;
if(s == "Apple") cout << "Apple is my greatest!" << endl;
}
return 0;
}

ステータス

項目 データ
問題 0976 - 国際主義
ユーザー名 crom
投稿日時 2018-08-31 11:33:15
言語 C++11
状態 Accepted
得点 1
ソースコード長 1074 Byte
最大実行時間 23 ms
最大メモリ使用量 700 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 20 ms 604 KB
1
in2 AC 20 ms 700 KB
1
in3 AC 23 ms 544 KB
1
in4 AC 17 ms 648 KB
1
in5 AC 22 ms 616 KB
1