/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:4:2: error: 'cin' was not declared in this scope
foo.cpp:4:2: note: suggested alternative:
In file included from foo.cpp:1:0:
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/iostream:61:18: note:   'std::cin'
foo.cpp:5:5: error: 'cout' was not declared in this scope
foo.cpp:5:5: note: suggested alternative:
In file included from foo.cpp:1:0:
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/iostream:62:18: note:   'std::cout'
foo.cpp:5:21: error: 'endl' was not declared in this scope
foo.cpp:5:21: note: suggested alternative:
In file included from c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/iostream:40:0,
                 from foo.cpp:1:
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/ostream:562:5: note:   'std::endl'

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2013-11-30 12:58:20
评测时间
2013-11-30 12:58:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes