Submission #792630
Source Code Expand
#include <stdio.h> int main(void){ int large,small, parameter; scanf("%d%d",&large,&small); if(small >= large) { parameter = large; large = small; small = parameter; } printf("%d %d\n",large,small); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | yebityon |
Language | C (GCC 4.6.4) |
Score | 0 |
Code Size | 290 Byte |
Status | WA |
Exec Time | 33 ms |
Memory | 800 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:7:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
Judge Result
Set Name | All | ||||
---|---|---|---|---|---|
Score / Max Score | 0 / 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 | 33 ms | 792 KB |
sample_02.txt | AC | 23 ms | 792 KB |
test_13_69.txt | AC | 22 ms | 796 KB |
test_16_44.txt | AC | 24 ms | 700 KB |
test_40_40.txt | AC | 24 ms | 792 KB |
test_49_31.txt | WA | 25 ms | 704 KB |
test_51_74.txt | AC | 23 ms | 800 KB |
test_83_60.txt | WA | 25 ms | 796 KB |