結果
| 問題 | No.756 チャンパーノウン定数 (1) |
| コンテスト | |
| ユーザー |
Newbiekun
|
| 提出日時 | 2019-01-26 19:16:57 |
| 言語 | Java (openjdk 26.0.2.1) |
| 結果 |
AC
|
| 実行時間 | 60 ms / 2,000 ms |
| + 834µs | |
| コード長 | 305 bytes |
| 記録 | |
| コンパイル時間 | 2,322 ms |
| コンパイル使用メモリ | 85,060 KB |
| 実行使用メモリ | 43,208 KB |
| 最終ジャッジ日時 | 2026-08-29 12:39:43 |
| 合計ジャッジ時間 | 5,244 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import java.util.Scanner;
public class No756
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int c = sc.nextInt();
String str = "";
for( int i = 0; i <= c; i++ )
{ str += i; }
System.out.println( str.substring( c, c+1 ) ); // c番目の文字を表示
}
}
Newbiekun