輸入字串s
輸入int x
輸出 x個s
herrDeng網內搜尋
自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
先說明一下這是後知後覺的解答,所謂後知就是股票價格已知存在陣列(清單),當然就要用迴圈練習,雙迴圈暴力解需時O(n**2),當然不用,採python單一迴圈解答「最佳股票的買賣時機#LeetCode 121 Best Time to Buy and Sell Stock」,解...
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
你會用C的算子sizeof?
-
Python CPP heap priority queue速解L eetcode 2530. Maximal Score After Applying K Operations heap/priority queue是重要的資料結構,無論是C++的std::priority_q...
-
C++ DP動態規劃解Leetcode 937 Maximum Number of Points with Cost 有些標示medium要比標示hard的問題還要難,Leetcode 1937. Maximum Number of Points with Cost,DP動態規...
57 則留言:
import java.util.*;
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}
}
import java.util.Scanner;
class one
{
public static void main(String[] args)
{
String name;
int a;
Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
name=input.next();
System.out.println("請輸入整數");
a=input.nextInt();
for (int i=0;i<10;i++)
{
System.out.println(i+name+a);
}
}
}
package jones;
import java.util.Scanner;
public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < 10; i++) {
System.out.println(i+name + x);
}
}
}
import java.util.Scanner;
public class java0323a {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name );
}
}
}
import java.util.Scanner;
class one
{
public static void main(String[] args)
{
String name;
int x;
Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
name=input.next();
System.out.println("請輸入顯示次數");
x=input.nextInt();
for (int i=1;i<=x;i++)
{
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i <10; i++) {
System.out.println(i+name + x);
}
}
}
import java.util.Scanner;
public class hi02 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt() ;
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class HINANA {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class D10333003 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class java0323a {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
String name=input.next();
System.out.println("請輸入數字");
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name );
}
}
}
import java.util.Scanner;
public class DADBOY2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hello0323 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0;i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class D10333003 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}
}
}
package jones;
import java.util.Scanner;
public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hi123 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt() ;
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class abc {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}
}
}
Y10310066 陳昤瑄
import java.util.Scanner;
public class hi1 {
private static Scanner input;
public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class wa {
public static void main(String[] args){
// TODO Auto-generated method stub
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for(int i = 0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class abc {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hehehe {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hehehe {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++) {
System.out.println(name);
}
}
}
D10333010 柯羿瑄
import java.util.Scanner;
public class hio {
private static Scanner input;
public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++)
System.out.println(name);
}
}
D10333034 洪芷茵
import java.util.Scanner;
public class jhu {
private static Scanner input;
public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++)
System.out.println(name);
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}
}
}
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);
}
}
import java.util.Scanner;
public class work {
public static void main(String[] args) {
// TODO Auto-generated method stub
{
Scanner input=new Scanner(System.in);
System.out.println("輸入字串");
String name=input.next();
System.out.println("輸入整數");
int x=input.nextInt();
for (int i=0;i<x;i++)
{
System.out.println(name);
}
}
}
}
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);
}
}
D10033203 黃琮崴
package njinj;
import java.util.Scanner;
public class iiihh2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class work {
public static void main(String[] args) {
// TODO Auto-generated method stub
{
Scanner input=new Scanner(System.in);
System.out.println("請打字串");
String name=input.next();
System.out.println("請打整數");
int a=input.nextInt();
for (int i=0;i<a;i++)
{
System.out.println(name);
}
}
}
}
import java.util.Scanner;
public class hello {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x;i++){
System.out.println(i+name);
}
}
}
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);
}
}
import java.util.Scanner;
public class Poss {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}
}
}
import java.util.Scanner;
public class ex2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0;i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class aa {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String name=input.next();
int x= input.nextInt();
for (int i = 0; i < 10; i++)
System.out.println(i+name + x);
}
}
import java.util.Scanner;
public class holl1 {
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}
}
package hello;
import java.util.Scanner;
public class hi2 {
public static void main(String[] arge) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
package njinj;
import java.util.Scanner;
public class iiihh2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++)
System.out.println(name);
}
}
import java.util.Scanner;
public class HI2 {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
String name= input.next();
int x = input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
public class hi {
public static void main(String[] args) {
String hame="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(hame+x);
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++)
System.out.println(name);
}
}
import java.util.Scanner;
public class d10033029_1 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
package jones;
import java.util.Scanner;
public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
public class hi {
public static void main(String[] args) {
String hame="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(hame+x);
}
}
import java.util.*;
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}
}
package jones;
import java.util.Scanner;
public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}
import java.util.Scanner;
public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(name);
}
}
}
import java.util.Scanner;
public class D10033003 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}
}
import java.util.Scanner;
public class hello2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}
}
張貼留言