Submission #344388
Source Code Expand
#include<stdio.h> 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 | btk15049 |
Language | C++11 (GCC 4.8.1) |
Score | 100 |
Code Size | 100 Byte |
Status | AC |
Exec Time | 28 ms |
Memory | 920 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:4:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&A,&B); ^
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
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 | 24 ms | 920 KB |
sample_02.txt | AC | 26 ms | 912 KB |
test_13_69.txt | AC | 26 ms | 864 KB |
test_16_44.txt | AC | 27 ms | 912 KB |
test_40_40.txt | AC | 28 ms | 884 KB |
test_49_31.txt | AC | 24 ms | 820 KB |
test_51_74.txt | AC | 26 ms | 808 KB |
test_83_60.txt | AC | 24 ms | 916 KB |