結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2022-07-29 00:15:31 |
言語 | Java (openjdk 23) |
結果 |
RE
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 2,566 ms |
コンパイル使用メモリ | 74,460 KB |
実行使用メモリ | 52,160 KB |
最終ジャッジ日時 | 2024-07-18 14:52:52 |
合計ジャッジ時間 | 3,870 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 22 |
ソースコード
class Main{ public static void main(String[] args){ int total = 0; if(args.length > 0){ int cnt = Integer.parseInt(args[0]); for(int i=0;i<=cnt;i++){ total += i; } } System.out.print(String.valueOf(total)); System.out.print(args[0]); } }