molecules.cpp: In function 'int main()':
molecules.cpp:43:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&l,&u,&n);
~~~~~^~~~~~~~~~~~~~~~~~~~~
molecules.cpp:46:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<n;i++)scanf("%d",&a), w.push_back(a);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cc9UD0i8.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/cci7wylP.o:molecules.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status