Submission #1454341


Source Code Expand

#include <cstdio>
#include <algorithm>
#include <string>
#include <iostream>

#define REPi(i, n) for(int i=0; i<n; i++)
#define REPd(i, n) for(int i=n; i>=0; i--)

using namespace std;
using vvc = vector<vector<char>>;

int main(void){
    cin.tie(0);
    ios::sync_with_stdio(false);
    
    vvc board;
    board.resize(4);

    REPi(i, 4){
        board[i].resize(4);
        REPi(j, 4){
            cin >> board[i][j];
        }
    }
    
    REPd(i, 3){
        REPd(j, 3){
            cout << board[i][j] << (j-1>=0 ? ' ' : '\n');
        }
    }
}

Submission Info

Submission Time
Task B - 回転
User halll
Language C# (Mono 4.6.2.0)
Score 0
Code Size 587 Byte
Status CE

Compile Error

./Main.cs(2,0): error CS1024: Wrong preprocessor directive
./Main.cs(3,0): error CS1024: Wrong preprocessor directive
./Main.cs(4,0): error CS1024: Wrong preprocessor directive
./Main.cs(5,0): error CS1024: Wrong preprocessor directive
./Main.cs(7,0): error CS1025: Single-line comment or end-of-line expected
./Main.cs(8,0): error CS1025: Single-line comment or end-of-line expected
./Main.cs(9,6): error CS1525: Unexpected symbol `namespace', expecting `identifier' or `static'
./Main.cs(9,19): error CS1525: Unexpected symbol `;', expecting `identifier' or `static'
./Main.cs(13,4): error CS1525: Unexpected symbol `cin', expecting `identifier' or `static'
./Main.cs(13,11): error CS1525: Unexpected symbol `(', expecting `identifier' or `static'
./Main.cs(17,16): error CS1525: Unexpected symbol `(', expecting `identifier' or `static'
./Main.cs(20,8): error CS1525: Unexpected symbol `board', expecting `identifier' or `static'
./Main.cs(20,14): error CS1514: Unexpected symbol `[', expecting `.' or `{'
./Main.cs(20,16...