This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int t; | |
cin >> t; | |
int a,b; | |
while (t--) { | |
cin >> a >> b; | |
cout << a+b << '\n'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Main{ | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
int a, b; | |
a = sc.nextInt(); | |
b = sc.nextInt(); | |
System.out.println(a + b); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int a, b; | |
cin >> a >> b; | |
cout << a+b << '\n'; | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
int main() { | |
int a, b; | |
scanf("%d %d",&a,&b); | |
printf("%d\n",a+b); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
people = list(range(1,37+1)) | |
for i in range(100): | |
random.shuffle(people) | |
print people[:29] | |
print people[29:] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"trash_domain": "0-mail.com"}, {"trash_domain": "0815.ru"}, {"trash_domain": "0815.ru0clickemail.com"}, {"trash_domain": "0815.su"}, {"trash_domain": "0clickemail.com"}, {"trash_domain": "0wnd.net"}, {"trash_domain": "0wnd.org"}, {"trash_domain": "10minutemail.com"}, {"trash_domain": "10minutemail.de"}, {"trash_domain": "123-m.com"}, {"trash_domain": "126.com"}, {"trash_domain": "139.com"}, {"trash_domain": "163.com"}, {"trash_domain": "1chuan.com"}, {"trash_domain": "1pad.de"}, {"trash_domain": "1zhuan.com"}, {"trash_domain": "20mail.it"}, {"trash_domain": "20minutemail.com"}, {"trash_domain": "21cn.com"}, {"trash_domain": "2prong.com"}, {"trash_domain": "30minutemail.com"}, {"trash_domain": "33mail.com"}, {"trash_domain": "3d-painting.com"}, {"trash_domain": "4warding.com"}, {"trash_domain": "4warding.net"}, {"trash_domain": "4warding.org"}, {"trash_domain": "60minutemail.com"}, {"trash_domain": "675hosting.com"}, {"trash_domain": "675hosting.net"}, {"trash_domain": "675hosting.org"}, {"trash_domain": "6p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int sum = 0; | |
for (int i = 2; i <= 10; i+=2) { | |
cout << i << endl; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int n; | |
cin >> n; | |
int sum = 0; | |
for (int i = 1; i <= n; ++i) { | |
sum += i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (1; 2; 3) { | |
4; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
// 1부터 10까지 출력하는 프로그램 | |
for (int i = 1; i <= 10; i++) { | |
cout << i << endl; | |
} | |
// 10부터 1까지 출력하는 프로그램 |