Problem gcd
User 2Princes1Lance
Submission Time 2023-11-23 10:52:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccSSxhLX.o: in function `std::thread::thread<void (&)(int, int, int, int), long long&, long long&, int, int, void>(void (&)(int, int, int, int), long long&, long long&, int&&, int&&)':
gcd.cpp:(.text._ZNSt6threadC2IRFviiiiEJRxS3_iiEvEEOT_DpOT0_[_ZNSt6threadC5IRFviiiiEJRxS3_iiEvEEOT_DpOT0_]+0x58): undefined reference to `pthread_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.a(thread.o): in function `std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())':
(.text._ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE+0x15): undefined reference to `pthread_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.a(thread.o): in function `std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)())':
(.text._ZNSt6thread15_M_start_threadESt10shared_ptrINS_10_Impl_baseEEPFvvE+0x68): undefined re