markdown効果のテスト
2889 ワード
#include
#include
int main() {
int n, t;
scanf("%d", &t);
while (t-- && (scanf("%d", &n)) {
printf("%.0f
", pow(2, n) + 2);
}
return 0;
}
public class LoopTest { public static void main(String[] args) { int sum = 0; for (int i = 0; i < 100; i += 2) { sum += i; } System.out.println("sum = "+ sum); } }
public class LoopTest {
public static void main(String[] args) {
int sum = 0;
for (int i = 0; i < 100; i += 2) {
sum += i;
}
System.out.println("sum = " + sum);
}
}
public class LoopTest {
public static void main(String[] args) {
int sum = 0;
for (int i = 0; i < 100; i += 2) {
sum += i;
}
System.out.println("sum = " + sum);
}
}
public class Test {
public static void main(String[] args) {
System.out.println("Hello World");
}
}