# CSDC OJ ## 輸入/輸出 - 解答 Made by 39th 教學 林子惟 IG : [@0001_01_1010_001_001_11](https://www.instagram.com/0001_01_1010_001_001_11?igsh=mwi3dmjjmgppz2hwnq%3d%3d&utm_source=qr) --- * *1 - A+B Problem* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ int x, y; cin >> x >> y; cout << x + y; return 0; } ``` --- * *6 - Hellow World* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "Hellow World"; return 0; } ``` --- * *8 - 學長DB2* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "林翔學長好帥 >\\\\\\\\\\<\n卦長表示:= =\""; return 0; } ``` --- * *12 - 蝶祈大好XDDDYAYAYA* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ double a, b; long long int c, d; cin >> a >> b; cin >> c >> d; cout << fixed << setprecision(2) << a + b << endl; cout << c + d; return 0; } ``` --- * *13 - 蝶祈學圓* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ double n, pi = 3.1415926; cin >> n; double a = n*n*pi; cout << fixed << setprecision(4) << a ; return 0; } ``` --- * *46 - あのね~あのね~* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "Hello platelet!"; return 0; } ``` --- * *47 - Hello World code版* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "#include <iostream>\nusing namespace std;\n\nint main(){\n\tcout << \"Hello World\";\n\treturn 0;\n}"; return 0; } ``` --- * *48 - 貼心的英靈衛宮* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string ans = "System call, enhance armament:\nI am the bone of my sword.\nSteel is my body, and fire is my blood.\nI have created over a thousand blades.\nUnknown to Death.\nNor known to Life.\nHave withstood pain to create many weapons.\nYet, those hands will never hold anything.\nSo, as I pray,\nunlimited blade works."; cout << ans; return 0; } ``` --- * *49 - 他的日常裡有公車與BMI* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ double H, W, N; cin >> H >> W >> N; double ans = W / ( (H + 0.01*N) * (H + 0.01*N) ); cout << ans; return 0; } ``` --- * *68 - 豆米\~\~\~~漿ヾ(●゜▽゜●)♡* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string ans; cin >> ans; cout << "www" << ans << "安安"; return 0; } ``` --- * *137 - 歡迎來到竹中軟研第一次社內賽的教室 ><* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "Hello CSDC36th!"; cout << a; return 0; } ``` --- * *191 - 前情侶的日常快照 「妳覺得是誰在戳」* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "solocat"; cout << a; return 0; } ``` --- * *215 - 歡迎來到csdc37th第一次社內賽* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "Hello World"; cout << a; return 0; } ``` --- * *216 - 跟軟研社的大家說你好吧* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "Hello~~~ ((\\\\``dOwOb``//)"; return 0; } ``` --- * *217 - 命運的五分鐘* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ long long a, b, c; cin >> a >> b >> c; long long ans = a + b - c; if (ans < 0){ ans = 0; } cout << ans; return 0; } ``` --- * *266 - 私は最強* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ int n, m; cin >> n >> m; string a = "I'm the best!"; cout << a << "\n" << n + m; return 0; } ``` --- * *285 - 大家都是好香蕉* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "Il||lI|lII|||IlIl|Il大家都是好香蕉 Il||lI|llI|||IlIl|Il"; cout << a; return 0; } ``` --- * *297 - 歡迎來到38th第二次社內賽* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "Horace"; string b = "Ranger"; cout << a << "\n" << b; return 0; } ``` --- * *322 - 驗收* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ long long int n, m; cin >> n >> m; long long int k = n + m; string a = "(/(qwq)\\)"; cout << a << "\n" << k ; return 0; } ``` --- * *339 - 魔法教學* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string ans; cin >> ans; cout << ans; return 0; } ``` --- * *342 - 簽到題* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "11"; cout << a; return 0; } ``` --- * *377 - 簽到題* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string ans = "到"; cout << ans; return 0; } ``` --- * *378 - qwert* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "60"; cout << a; return 0; } ``` --- * *385 - \_pi_* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852"; cout << a; return 0; } ``` --- * *386 - 克漏字:探索□□□* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ cout << "區塊鏈"; return 0; } ``` --- * *394 - 99的夢想* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string ans = "Colin好電嗚嗚嗚\\\\'QwQ\"//"; cout << ans; return 0; } ``` --- * *402 - 下幹!!* ```cpp= #include <bits/stdc++.h> using namespace std; int main(){ string a = "364"; cout << a ; return 0; } ``` ---
{"title":"輸入/輸出 - 解答","description":"type: lide","contributors":"[{\"id\":\"2a17d5d9-0f0d-4925-960f-dd7551d33582\",\"add\":8066,\"del\":2471}]"}
Expand menu