結果
| 問題 |
No.2835 Take and Flip
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-11-04 22:12:03 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 124 ms / 2,000 ms |
| コード長 | 221 bytes |
| コンパイル時間 | 13,331 ms |
| コンパイル使用メモリ | 248,336 KB |
| 実行使用メモリ | 7,816 KB |
| 最終ジャッジ日時 | 2024-11-04 22:12:20 |
| 合計ジャッジ時間 | 14,838 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
package main
import . "fmt"
import . "os"
import bf "bufio"
func main() {
rd:=bf.NewReader(Stdin)
var n int
Fscan(rd,&n)
a:=make([]int64,n)
var c int64
for i:=range a {
Fscan(rd,&a[i])
c+=a[i]
}
Println(c)
}
ID 21712