結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2020-12-15 22:27:16 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 2,706 ms |
コンパイル使用メモリ | 74,828 KB |
実行使用メモリ | 54,264 KB |
最終ジャッジ日時 | 2024-09-20 02:22:47 |
合計ジャッジ時間 | 6,742 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
ソースコード
package yukicoder.tutorial.sum.bywhitespace; import java.util.Scanner; import java.util.stream.IntStream; public class Main { @SuppressWarnings("resource") public static void main(String[] args) { Scanner sc = new Scanner(System.in); int length = sc.nextInt(); System.out.println(IntStream.range(0, length).sum()); } }