Submission #1585379
Source Code Expand
#include <bits/stdc++.h> #define REP(i, n) for(int i = 0; i < (int)(n); ++i) #define FOR(i, m, n) for(int i = (m); i < (int)(n); ++i) #define INF 2000000000 #ifdef LOCAL #define eprintf(...) fprintf(stderr, __VA_ARGS__) #else #define eprintf(...) 0 #endif using namespace std; typedef long long LL; typedef unsigned long long ULL; typedef unsigned int uint; int main() { int x,y; scanf("%d %d", &x, &y); printf("%d %d\n", y, x); return 0; /* string str; cin >> str; str += "pp"; cout << str << endl; */ }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | yoshi_k |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 566 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
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 | 256 KB |
sample_02.txt | AC | 1 ms | 256 KB |
test_13_69.txt | AC | 1 ms | 256 KB |
test_16_44.txt | AC | 1 ms | 256 KB |
test_40_40.txt | AC | 1 ms | 256 KB |
test_49_31.txt | AC | 1 ms | 256 KB |
test_51_74.txt | AC | 1 ms | 256 KB |
test_83_60.txt | AC | 1 ms | 256 KB |