0_0_28411351_29976.cpp: In function 'int main()':
0_0_28411351_29976.cpp:9:9: error: 'cin' was not declared in this scope
while (cin >> n >> m) {
^
0_0_28411351_29976.cpp:12:4: error: 'cout' was not declared in this scope
cout << "-";
^
0_0_28411351_29976.cpp:15:18: error: too few arguments to function 'errno_t _itoa_s(int, char*, size_t, int)'
_itoa_s(n, z, m);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:667:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:72,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from 0_0_28411351_29976.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:18:27: note: declared here
_CRTIMP errno_t __cdecl _itoa_s(int _Value,char *_DstBuf,size_t _Size,int _Radix);
^
0_0_28411351_29976.cpp:19:4: error: 'cout' was not declared in this scope
cout << z[i];
^
0_0_28411351_29976.cpp:21:3: error: 'cout' was not declared in this scope
cout << endl;
^
0_0_28411351_29976.cpp:21:11: error: 'endl' was not declared in this scope
cout << endl;
^
|