Submission #1332408

#TimeUsernameProblemLanguageResultExecution timeMemory
1332408QuocSenseiParrots (IOI11_parrots)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>

#define ll long long 
#define el cout << endl
#define bit(mask, i) (((mask) >> (i)) & 1)
#define BIT(n) ((1ll) << (n))

using namespace std;

void send(int a);
void output(int b);

namespace SUBTASK_1
{
    namespace personA
    {
        void encode(int N, int M[])
        {
            
        }
    }
    namespace personB
    {

    }
}

void encode(int N, vector<int> M)
{

}
void decode(int N, int L, vector<int> X)
{
    
}
#include <bits/stdc++.h>

#define ll long long 
#define el cout << endl
#define bit(mask, i) (((mask) >> (i)) & 1)
#define BIT(n) ((1ll) << (n))

using namespace std;

void send(int a);
void output(int b);

namespace SUBTASK_1
{
    namespace personA
    {
        void encode(int N, int M[])
        {
            
        }
    }
    namespace personB
    {

    }
}

void encode(int N, vector<int> M)
{

}
void decode(int N, int L, vector<int> X)
{
    
}

Compilation message (stderr)

# 1번째 컴파일 단계

/usr/bin/ld: /tmp/ccF640vP.o: in function `main':
grader_encoder.cpp:(.text.startup+0x167): undefined reference to `encode(int, int*)'
collect2: error: ld returned 1 exit status