1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#include "maklib.h"
#include "message.h"
#include <iostream>

using namespace std;

int main()
{
    if(MyNodeId() == 0)
    {
        int a = ElementAt(1);
        int b = Size();
        if(a > 0)
            cout<<b;
        else    cout<<"0";
    }
    /* if(MyNodeId() == 0)
        cout<<"7";  */
    return 0;
}