Submission #884657

#TimeUsernameProblemLanguageResultExecution timeMemory
884657YumesekaiBubble Sort 2 (JOI18_bubblesort2)C++17
Compilation error
0 ms0 KiB
#include<iostream> using namespace std; #pragma GCC optimize("O3,unroll-loops") #pragma GCC target("avx2") int cnt=0; int main() { for(int i=1;i<=30000;i++) { for(int j=1;j<=30000;j++) { if(i%j<=10) cnt++; } } cout<<cnt; return 0; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccqc2CL7.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc648md8.o:bubblesort2.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccqc2CL7.o: in function `main':
grader.cpp:(.text.startup+0x181): undefined reference to `countScans(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status