0_0_33302669_21565.cpp:4:26: error: stray '#' in program
cout << endl;#include <iostream>
^
0_0_33302669_21565.cpp:1:1: error: expected unqualified-id before 'if'
if (time == 0)
^
0_0_33302669_21565.cpp:3:9: error: expected unqualified-id before 'else'
else
^
0_0_33302669_21565.cpp:4:27: error: 'include' does not name a type
cout << endl;#include <iostream>
^
0_0_33302669_21565.cpp: In function 'void dfs(int, int)':
0_0_33302669_21565.cpp:15:13: error: 'cout' was not declared in this scope
cout << b[i] << " ";
^
0_0_33302669_21565.cpp:16:9: error: 'cout' was not declared in this scope
cout << b[5] << endl;
^
0_0_33302669_21565.cpp:16:25: error: 'endl' was not declared in this scope
cout << b[5] << endl;
^
0_0_33302669_21565.cpp: In function 'int main()':
0_0_33302669_21565.cpp:29:12: error: 'cin' was not declared in this scope
while (cin >> n && n)
^
0_0_33302669_21565.cpp:38:13: error: 'cout' was not declared in this scope
cout << endl;
^
0_0_33302669_21565.cpp:38:21: error: 'endl' was not declared in this scope
cout << endl;
^
|