Submission #471876
Source Code Expand
#include <bits/stdc++.h> #define rep(i,l,n) for(int i=l;i<n;i++) #define rer(i,l,n) for(int i=l;i<=n;i++) #define all(a) a.begin(),a.end() #define fi first #define se second using namespace std; typedef long long ll; typedef vector<int> vint; typedef vector<vector<int> > vvint; typedef pair<int,int> pii; int main(){ char c[50]; rep(i,0,32) scanf("%c",&c[i]); rep(i,2,33) printf("%c",c[32-i]); cout<<endl; }
Submission Info
Submission Time | |
---|---|
Task | B - 回転 |
User | treeone |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 437 Byte |
Status | AC |
Exec Time | 30 ms |
Memory | 920 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_00.txt, 00_sample_01.txt, 01_all_dot.txt, 02_all_o.txt, 03_all_x.txt, rand_0.txt, rand_1.txt, rand_10.txt, rand_11.txt, rand_12.txt, rand_13.txt, rand_14.txt, rand_15.txt, rand_16.txt, rand_17.txt, rand_18.txt, rand_19.txt, rand_2.txt, rand_20.txt, rand_21.txt, rand_22.txt, rand_23.txt, rand_24.txt, rand_3.txt, rand_4.txt, rand_5.txt, rand_6.txt, rand_7.txt, rand_8.txt, rand_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 27 ms | 796 KB |
00_sample_01.txt | AC | 26 ms | 860 KB |
01_all_dot.txt | AC | 30 ms | 804 KB |
02_all_o.txt | AC | 27 ms | 800 KB |
03_all_x.txt | AC | 25 ms | 796 KB |
rand_0.txt | AC | 26 ms | 804 KB |
rand_1.txt | AC | 26 ms | 800 KB |
rand_10.txt | AC | 26 ms | 800 KB |
rand_11.txt | AC | 28 ms | 800 KB |
rand_12.txt | AC | 26 ms | 796 KB |
rand_13.txt | AC | 26 ms | 796 KB |
rand_14.txt | AC | 26 ms | 864 KB |
rand_15.txt | AC | 25 ms | 796 KB |
rand_16.txt | AC | 30 ms | 840 KB |
rand_17.txt | AC | 26 ms | 800 KB |
rand_18.txt | AC | 29 ms | 796 KB |
rand_19.txt | AC | 28 ms | 864 KB |
rand_2.txt | AC | 27 ms | 792 KB |
rand_20.txt | AC | 25 ms | 796 KB |
rand_21.txt | AC | 24 ms | 872 KB |
rand_22.txt | AC | 24 ms | 804 KB |
rand_23.txt | AC | 25 ms | 800 KB |
rand_24.txt | AC | 28 ms | 800 KB |
rand_3.txt | AC | 26 ms | 876 KB |
rand_4.txt | AC | 25 ms | 920 KB |
rand_5.txt | AC | 28 ms | 800 KB |
rand_6.txt | AC | 24 ms | 800 KB |
rand_7.txt | AC | 25 ms | 800 KB |
rand_8.txt | AC | 25 ms | 800 KB |
rand_9.txt | AC | 29 ms | 796 KB |