Submission #1140731
Source Code Expand
#include <stdio.h>
#define H 50
#define W 50
#define K 8
int main(void)
{
int grid[H][W];
int Los;
char c;
scanf("%d%d%d",&Los,&Los,&Los);
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
scanf(" %c", &c);
grid[i][j] = c - '0';
}
}
printf("200\n");
for (int i = 0; i < 1; i++) {
for (int j = 0; j < 1; j++) {
printf("%d %d\n", 2*i+1, 4*j+1);
printf("%d %d\n", 2*i+1, 4*j+2);
printf("%d %d\n", 2*i+1, 4*j+3);
printf("%d %d\n", 2*i+1, 4*j+4);
printf("%d %d\n", 2*i+2, 4*j+1);
printf("%d %d\n", 2*i+2, 4*j+2);
printf("%d %d\n", 2*i+2, 4*j+3);
printf("%d %d\n", 2*i+2, 4*j+4);
}
}
return 0;
}
Submission Info
Submission Time |
|
Task |
A - Multiple Pieces |
User |
shimada_alice |
Language |
C++14 (GCC 5.4.1) |
Score |
0 |
Code Size |
838 Byte |
Status |
WA |
Exec Time |
1 ms |
Memory |
128 KB |
Compile Error
./Main.cpp: In function ‘int main()’:
./Main.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&Los,&Los,&Los);
^
./Main.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &c);
^
Judge Result
Set Name |
test_01 |
test_02 |
test_03 |
test_04 |
test_05 |
test_06 |
test_07 |
test_08 |
test_09 |
test_10 |
Score / Max Score |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
0 / 1343058 |
Status |
|
|
|
|
|
|
|
|
|
|
Set Name |
Test Cases |
test_01 |
subtask_01_01.txt |
test_02 |
subtask_01_02.txt |
test_03 |
subtask_01_03.txt |
test_04 |
subtask_01_04.txt |
test_05 |
subtask_01_05.txt |
test_06 |
subtask_01_06.txt |
test_07 |
subtask_01_07.txt |
test_08 |
subtask_01_08.txt |
test_09 |
subtask_01_09.txt |
test_10 |
subtask_01_10.txt |
Case Name |
Status |
Exec Time |
Memory |
subtask_01_01.txt |
WA |
1 ms |
128 KB |
subtask_01_02.txt |
WA |
1 ms |
128 KB |
subtask_01_03.txt |
WA |
1 ms |
128 KB |
subtask_01_04.txt |
WA |
1 ms |
128 KB |
subtask_01_05.txt |
WA |
1 ms |
128 KB |
subtask_01_06.txt |
WA |
1 ms |
128 KB |
subtask_01_07.txt |
WA |
1 ms |
128 KB |
subtask_01_08.txt |
WA |
1 ms |
128 KB |
subtask_01_09.txt |
WA |
1 ms |
128 KB |
subtask_01_10.txt |
WA |
1 ms |
128 KB |