結果
| 問題 |
No.2595 Parsing Challenge
|
| コンテスト | |
| ユーザー |
ei1333333
|
| 提出日時 | 2023-12-23 00:44:14 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 262 bytes |
| コンパイル時間 | 18,934 ms |
| コンパイル使用メモリ | 237,804 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-27 11:46:11 |
| 合計ジャッジ時間 | 20,677 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 WA * 1 |
| other | AC * 4 WA * 51 |
ソースコード
package main
import (
"bufio"
"fmt"
"go/token"
"go/types"
"os"
)
func main() {
stdin := bufio.NewScanner(os.Stdin)
stdin.Scan()
stdin.Scan()
exp := stdin.Text()
res, _ := types.Eval(token.NewFileSet(), nil, token.NoPos, exp)
fmt.Println(res.Value)
}
ei1333333