結果
問題 |
No.64 XORフィボナッチ数列
|
ユーザー |
![]() |
提出日時 | 2018-06-30 21:03:48 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 1,622 ms |
コンパイル使用メモリ | 165,416 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 01:00:34 |
合計ジャッジ時間 | 2,368 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | WA * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ long long int f0, f1, N, ans; cin >> f0 >> f1 >> N; if(N%3 == 0){ ans = 88; }else if(N%3 == 1){ ans = 79; }else{ ans = 23; } cout << ans << endl; return 0; }