Submission #890748
Source Code Expand
#define FNAME "" #include <bits/stdc++.h> #define hash padjf9srpi #define y0 sdkfaslhagaklsldk #define y1 aasdfasdfasdf #define yn askfhwqriuperikldjk #define j1 assdgsdgasghsf #define tm sdfjahlfasfh #define lr asgasgash #define pb push_back #define mp make_pair #define forn(i, n) for (int i = 0; i < (n); i++) #define fornr(i, n) for (int i = (n) - 1; i >= 0; i--) #define forab(i, a, b) for (int i = (a); i < (b); i++) #define gcd __gcd #define all(a) (a).begin(), (a).end() #ifdef _WIN32 #define I64 "%I64d" #else #define I64 "%lld" #endif using namespace std; typedef long long LL; typedef unsigned long long ULL; typedef long double LD; typedef pair <int, int> pii; typedef vector <int> vi; template <class T> T sqr(const T &a) {return a * a;} char s[1000]; int main() { #ifdef LOCAL freopen(FNAME".in", "r", stdin); freopen(FNAME".out", "w", stdout); #endif scanf("%s", s); forn(i, 4) printf("%c", s[i]); printf(" " ); forn(i, 8) printf("%c", s[i + 4]); }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | Tehnar |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 1245 Byte |
Status | WA |
Exec Time | 2 ms |
Memory | 256 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:44:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | WA | 2 ms | 256 KB |
0_01.txt | WA | 2 ms | 256 KB |
0_02.txt | WA | 2 ms | 256 KB |
1_00.txt | WA | 2 ms | 256 KB |
1_01.txt | WA | 2 ms | 256 KB |
1_02.txt | WA | 2 ms | 256 KB |