Task: | Kartta |
Sender: | Laakeri |
Submission time: | 2015-01-29 15:16:04 +0200 |
Language: | C++ |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
#3 | WRONG ANSWER | 0 |
#4 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.10 s | 1 | details |
#2 | WRONG ANSWER | 0.11 s | 2 | details |
#3 | WRONG ANSWER | 0.11 s | 3 | details |
#4 | WRONG ANSWER | 0.23 s | 4 | details |
Code
#include <iostream> using namespace std; typedef long long ll; int bs[101][101][20]; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int n,m,h; cin>>n>>m>>h; for (int i=0;i<n;i++){ for (int ii=0;ii<m;ii++){ int t; cin>>t; for (int a=0;a<20;a++){ if (t&(1<<a)){ bs[i][ii][a]=1; } } } } for (int a=0;a<19;a++){ for (int i=0;i<n;i++){ for (int ii=0;ii<m;ii++){ if (bs[i][ii][a]){ cout<<'V'; } else cout<<'L'; } cout<<'\n'; } } for (int a=0;a<19;a++){ for (int i=0;i<n;i++){ for (int ii=0;ii<m;ii++){ if (bs[i][ii][a]){ cout<<'S'; } else cout<<'L'; } cout<<'\n'; } } for (int a=0;a<2;a++){ for (int i=0;i<n;i++){ for (int ii=0;ii<m;ii++){ cout<<'V'; } cout<<'\n'; } } for (int i=1;i<=h;i++){ cout<<20<<" "; cout<<40<<" "; int hh=i-1; for (int a=0;a<19;a++){ if (hh&(1<<a)){ cout<<20+a<<" "; } else{ cout<<a+1<<" "; } } cout<<endl; } }
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
input |
---|
100 100 40 40 11 38 24 5 31 40 10 17 33 1... |
correct output |
---|
(empty) |
user output |
---|
LVLLVVLLVVLVLLVLLVLLLVLVLVLVLV... |
Test 2
Group: 2
Verdict: WRONG ANSWER
input |
---|
100 100 200 200 71 185 86 113 84 170 60 17... |
correct output |
---|
(empty) |
user output |
---|
LVVLVLLLVLLLLLVVLLLLLVVLLVLVLV... |
Test 3
Group: 3
Verdict: WRONG ANSWER
input |
---|
100 100 1000 824 172 828 721 509 73 437 530... |
correct output |
---|
(empty) |
user output |
---|
LLLVVVVLVVLLLVLVLLVLLLVVVVLVVL... |
Test 4
Group: 4
Verdict: WRONG ANSWER
input |
---|
100 100 10000 7110 9439 3392 1630 368 8481 1... |
correct output |
---|
(empty) |
user output |
---|
LVLLLVLVVLLVLVLVLVLLVLVVLVLVVL... |