aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/sysy_lvX/1073_exchange_value.sy
blob: 24f3536ed143e546b93ce0c29b137556506302ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
int n;

int main()
{
    //newline=10;
    int i;
    int j;
    //m = 1478;
    //int t;
    i=getint();
    j=getint();
    int temp;
    temp=i;
    i=j;
    j=temp;

    putint(i);
    temp = 10;
    putch(temp);
    putint(j);
    temp = 10;
    putch(temp);
    
    return 0;
}