Job 13119

Owner
Vasiu Alexandru
Problem
LCM
Source
0.45KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:24:1: error: 'cin' was not declared in this scope
 cin>>a>>b;
 ^
prog.cpp:24:1: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.9/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
prog.cpp:32:1: error: 'cout' was not declared in this scope
 cout<<n;
 ^
prog.cpp:32:1: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.9/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^

Questions?

Sponsors Gold