Submission #792542


Source Code Expand

#include <iostream>

using namespace std;

int main(void) {
    
    int large,small,para;
    
    cin >> large >> small;
    
    if(small >= large)
    {
        para = large;
        large =small;
        small = para;
    }
    cout << large << " "<< small << endl;
    
    
    
    
    
}

Submission Info

Submission Time
Task A - スワップ
User yebityon
Language C++ (G++ 4.6.4)
Score 0
Code Size 323 Byte
Status WA
Exec Time 27 ms
Memory 920 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
AC × 4
WA × 2
Set Name Test Cases
All test_13_69.txt, test_16_44.txt, test_40_40.txt, test_49_31.txt, test_51_74.txt, test_83_60.txt
Case Name Status Exec Time Memory
sample_01.txt AC 27 ms 792 KB
sample_02.txt AC 27 ms 792 KB
test_13_69.txt AC 27 ms 916 KB
test_16_44.txt AC 27 ms 800 KB
test_40_40.txt AC 25 ms 796 KB
test_49_31.txt WA 25 ms 920 KB
test_51_74.txt AC 26 ms 800 KB
test_83_60.txt WA 26 ms 672 KB