Code Submission Evaluation System Login

Datatähti 2015 loppu

Start:2015-01-29 12:15:00
End:2015-01-29 17:15:00
 

Tasks | Scoreboard | Statistics


CSES - Datatähti 2015 loppu - Results
History
2015-01-29 15:23:01100
2015-01-29 15:19:500
2015-01-29 15:16:040
Task:Kartta
Sender:Laakeri
Submission time:2015-01-29 15:16:04
Language:C++
Status:READY
Score:0

Feedback

groupverdictscore
#1WRONG ANSWER0
#2WRONG ANSWER0
#3WRONG ANSWER0
#4WRONG ANSWER0

Test results

testverdicttime (s)group
#1WRONG ANSWER0.10 / 5.001details
#2WRONG ANSWER0.11 / 5.002details
#3WRONG ANSWER0.11 / 5.003details
#4WRONG ANSWER0.23 / 5.004details

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...
view   save

correct output
(empty)

user output
LVLLVVLLVVLVLLVLLVLLLVLVLVLVLV...
view   save

Test 2

Group: 2

Verdict: WRONG ANSWER

input
100 100 200
200 71 185 86 113 84 170 60 17...
view   save

correct output
(empty)

user output
LVVLVLLLVLLLLLVVLLLLLVVLLVLVLV...
view   save

Test 3

Group: 3

Verdict: WRONG ANSWER

input
100 100 1000
824 172 828 721 509 73 437 530...
view   save

correct output
(empty)

user output
LLLVVVVLVVLLLVLVLLVLLLVVVVLVVL...
view   save

Test 4

Group: 4

Verdict: WRONG ANSWER

input
100 100 10000
7110 9439 3392 1630 368 8481 1...
view   save

correct output
(empty)

user output
LVLLLVLVVLLVLVLVLVLLVLVVLVLVVL...
view   save