結果
問題 | No.64 XORフィボナッチ数列 |
ユーザー |
![]() |
提出日時 | 2020-02-25 17:21:05 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 123 ms |
コンパイル使用メモリ | 27,904 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-13 12:23:49 |
合計ジャッジ時間 | 734 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include<stdio.h>int main(){long long int f[3], n;scanf("%lld %lld %lld", &f[0], &f[1], &n);f[2] = f[0] ^ f[1];printf("%lld\n", f[n % 3]);return 0;}