prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp: In function 'int main()':
main.cpp:17:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
std::scanf( "%d", &id );
~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:18:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
std::scanf( "%d", &size );
~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:20:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for( int i = 0; i < size; ++i ) std::scanf( "%d", dat + i );
~~~~~~~~~~^~~~~~~~~~~~~~~~~
g++ -g -Wall -O2 -o sort.o -c sort.cpp
g++ -g -Wall -O2 -o main main.o sort.o
finished
clean (3/3):
finished
all task finished, build successfully