結果
問題 | No.64 XORフィボナッチ数列 |
ユーザー | vorg101 |
提出日時 | 2016-07-30 12:14:47 |
言語 | Go (1.22.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 251 bytes |
コンパイル時間 | 12,443 ms |
コンパイル使用メモリ | 227,968 KB |
実行使用メモリ | 7,040 KB |
最終ジャッジ日時 | 2024-04-24 12:54:48 |
合計ジャッジ時間 | 16,950 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
5,248 KB |
testcase_01 | AC | 1 ms
5,248 KB |
testcase_02 | AC | 1 ms
5,376 KB |
testcase_03 | AC | 1 ms
5,376 KB |
testcase_04 | AC | 1 ms
5,376 KB |
testcase_05 | AC | 1 ms
5,376 KB |
testcase_06 | AC | 1 ms
5,376 KB |
testcase_07 | AC | 1 ms
5,376 KB |
testcase_08 | AC | 1 ms
5,376 KB |
testcase_09 | TLE | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
ソースコード
package main import "fmt" func main() { var a, b, n int64 fmt.Scan(&a, &b, &n) if n == 0 { fmt.Println(a) } else { for i := int64(2); i <= n; i++ { a, b = b, a ^ b } fmt.Println(b) } }