online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <bits/stdc++.h> using namespace std; bool checkfibo(int a) //check xem số có phải fibo ko { //3 là một số Fibonacci vì (5 * 3 * 3 + 4) là 49 là 7 * 7 //5 là một số Fibonacci vì (5 * 5 * 5 - 4) là 121 là 11 * 11 int t1 = sqrt(5*a*a+4); int t2 = sqrt(5*a*a-4); if(t1*t1==(5*a*a+4)) return true; if(t2*t2==(5*a*a-4)) return true; return false; } int main() { ifstream doc("INPUT.INP"); ofstream ghi("OUTPUT.OUT"); int n; doc >> n; int item; vector<int> a; for (int i=0; i<n; i++) { doc >> item; a.push_back(item); } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue