0_0_23249149_9149.cpp: In function 'int main()':
0_0_23249149_9149.cpp:25:15: error: expected primary-expression before '%' token
while(~scanf(%d%d, &N, &T))
^
0_0_23249149_9149.cpp:25:16: error: 'd' was not declared in this scope
while(~scanf(%d%d, &N, &T))
^
0_0_23249149_9149.cpp:32:10: error: expected primary-expression before '%' token
scanf(%d, v + i);
^
0_0_23249149_9149.cpp:37:10: error: expected primary-expression before '%' token
scanf(%d, c + i);
^
0_0_23249149_9149.cpp:81:27: error: expected primary-expression before '%' token
if(min_s != INF) printf(%d, min_s);
^
0_0_23249149_9149.cpp:82:17: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
else printf(-1);
^
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++/string:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_23249149_9149.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:378:15: note: initializing argument 1 of 'int printf(const char*, ...)'
int __cdecl printf(const char * __restrict__ _Format,...);
^
|