Submission #44654


ソースコード

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include <iostream>
#include <string>
using namespace std;
int main()
{
int i = 0;
string a[205];
while(1){
cin >> a[i];
if(a[i] == "Suomi"){
break;
}
i++;
}
for(int j = 0;j < i;j++){
if(a[j] == "en"){
cout << "Hello World!" << endl;
}else if(a[j] == "fr"){
cout << "Bonjour ke monde!" << endl;
}else if(a[j] == "de"){
cout << "Hallo Welt!" << endl;
}else if(a[j] == "es"){
cout << "Hola Mundo!" << endl;
}else if(a[j] == "pt"){
cout << "Ola' Mundo!" << endl;
}else if(a[j] == "nl"){
cout << "Hallo Wereld!" << endl;
}else if(a[j] == "cs"){
cout << "Ahoj sve^te!" << endl;
}else if(a[j] == "ga"){
cout << "Dia duit an Domhain!" << endl;
}else if(a[j] == "eo"){
cout << "Saluton Mondo!" << endl;
}else if(a[j] == "tr"){
cout << "Selam Du";
cout << '"';
cout << "nya!" << endl;
}else if(a[j] == "sw"){
cout << "Salamu, Dunia!" << endl;
}else if(a[j] == "af"){
cout << "Hello We^reld!" << endl;
}else if(a[j] == "ms"){
cout << "Hai dunia!" << endl;
}else if(a[j] == "uz"){
cout << "Salom Dunyo!" << endl;
}else if(a[j] == "ja"){
cout << "nadesiko" << endl;
}else if(a[j] == "python"){
cout << "import __hello__" << endl;
}else if(a[j] == "Apple"){
cout << "Apple is my greatest!" << endl;
}
}
return(0);
}

ステータス

項目 データ
問題 0976 - 国際主義
ユーザー名 卒業済みr1807
投稿日時 2018-11-09 17:07:01
言語 C++
状態 Accepted
得点 1
ソースコード長 1258 Byte
最大実行時間 23 ms
最大メモリ使用量 616 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 18 ms 604 KB
1
in2 AC 23 ms 452 KB
1
in3 AC 23 ms 420 KB
1
in4 AC 22 ms 512 KB
1
in5 AC 21 ms 616 KB
1