Submission #84046

# Submission time Handle Problem Language Result Execution time Memory
84046 2018-11-12T13:43:32 Z sams Prosjecni (COCI16_prosjecni) C++14
24 / 120
2 ms 604 KB
#include <bits/stdc++.h>

using namespace std;

int n;

int main(){
	
	ios::sync_with_stdio(false); cin.tie(0);
	cin >> n;

	if(n%2){

		for(int i=1;i<=n*n;++i){
			cout << i << " \n"[i%n==0];
		}
	}

	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 376 KB Unexpected end of file - int32 expected
2 Correct 2 ms 500 KB Output is correct
3 Incorrect 2 ms 500 KB Unexpected end of file - int32 expected
4 Correct 2 ms 500 KB Output is correct
5 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected
6 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected
7 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected
8 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected
9 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected
10 Incorrect 2 ms 604 KB Unexpected end of file - int32 expected