0_0_23172611_15044.cpp:154:22: error: stray '#' in program
printf(Scenario #%d:,cas++);
^
0_0_23172611_15044.cpp: In function 'void SHOW()':
0_0_23172611_15044.cpp:11:28: error: too few arguments to function 'int printf(const char*, ...)'
int cnt=1;printf( );
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23172611_15044.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: declared here
int __cdecl printf(const char * __restrict__ _Format,...);
^
0_0_23172611_15044.cpp:14:16: error: expected primary-expression before '%' token
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:14:17: error: 'c' was not declared in this scope
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:18:35: error: too few arguments to function 'int printf(const char*, ...)'
if(i!=8) printf( );
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23172611_15044.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: declared here
int __cdecl printf(const char * __restrict__ _Format,...);
^
0_0_23172611_15044.cpp:24:16: error: expected primary-expression before '%' token
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:24:17: error: 'c' was not declared in this scope
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:28:25: error: too few arguments to function 'int printf(const char*, ...)'
cnt=1; printf( );
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23172611_15044.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: declared here
int __cdecl printf(const char * __restrict__ _Format,...);
^
0_0_23172611_15044.cpp:31:16: error: expected primary-expression before '%' token
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:31:17: error: 'c' was not declared in this scope
printf(%c ,mofang[i]);
^
0_0_23172611_15044.cpp:35:36: error: too few arguments to function 'int printf(const char*, ...)'
if(i!=53) printf( );
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23172611_15044.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: declared here
int __cdecl printf(const char * __restrict__ _Format,...);
^
0_0_23172611_15044.cpp: In function 'int main()':
0_0_23172611_15044.cpp:151:8: error: expected primary-expression before '%' token
scanf(%d,&t);
^
0_0_23172611_15044.cpp:151:9: error: 'd' was not declared in this scope
scanf(%d,&t);
^
0_0_23172611_15044.cpp:154:13: error: 'Scenario' was not declared in this scope
printf(Scenario #%d:,cas++);
^
0_0_23172611_15044.cpp:158:10: error: expected primary-expression before '%' token
scanf(%s,c);
^
0_0_23172611_15044.cpp:158:11: error: 's' was not declared in this scope
scanf(%s,c);
^
0_0_23172611_15044.cpp:162:9: error: expected primary-expression before '%' token
scanf(%d,&m);
^
0_0_23172611_15044.cpp:166:10: error: expected primary-expression before '%' token
scanf(%d%d,&a,&b);
^
|