Submission #1780807


Source Code Expand

#include <stdio.h>

int main(void) {
 
  int a = 0;
  int b = 0;

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

Submission Info

Submission Time
Task A - スワップ
User ycpc4
Language C (GCC 5.4.1)
Score 100
Code Size 162 Byte
Status AC
Exec Time 1 ms
Memory 128 KB

Compile Error

./Main.c: In function ‘main’:
./Main.c:8:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &a);
   ^
./Main.c:9:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &b);
   ^

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 8
Set Name Test Cases
All sample_01.txt, sample_02.txt, 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 1 ms 128 KB
sample_02.txt AC 1 ms 128 KB
test_13_69.txt AC 1 ms 128 KB
test_16_44.txt AC 1 ms 128 KB
test_40_40.txt AC 1 ms 128 KB
test_49_31.txt AC 1 ms 128 KB
test_51_74.txt AC 1 ms 128 KB
test_83_60.txt AC 1 ms 128 KB