Submission #201107


Source Code Expand

#include <stdio.h>
#include <algorithm>

using namespace std;

int main(){
	int a,b;
	scanf("%d%d",&a,&b);

	printf("%d %d\n",b,a);
	return 0;
}

Submission Info

Submission Time
Task A - スワップ
User kcm1700
Language C++ (G++ 4.6.4)
Score 100
Code Size 155 Byte
Status AC
Exec Time 20 ms
Memory 800 KB

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 6
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 20 ms 792 KB
sample_02.txt AC 20 ms 792 KB
test_13_69.txt AC 19 ms 792 KB
test_16_44.txt AC 20 ms 800 KB
test_40_40.txt AC 19 ms 792 KB
test_49_31.txt AC 19 ms 700 KB
test_51_74.txt AC 19 ms 800 KB
test_83_60.txt AC 18 ms 788 KB