Submission #201145
Source Code Expand
#include <iostream> #include <cstdio> 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 | Shift0N |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 152 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:9:18: error: expected ‘)’ before ‘b’ ./Main.cpp:9:21: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat] ./Main.cpp:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]