Submission #4548340
Source Code Expand
#include<bits/stdc++.h> using namespace std; char mp[59][59]; int main(){ int h,w,k; cin>>h>>w>>k; for(int i=0;i<h;i++){ for(int j=0;j<w;j++){ cin>>mp[i][j]; } } cout<<h*w/k<<endl; for(int i=1;i<=h;i++){ if(i%2==1){ for(int j=1;j<=w;j++){ cout<<i<<' '<<j<<endl; } } else{ for(int j=w;j>0;j--){ cout<<i<<' '<<j<<endl; } } } return(0); }
Submission Info
Submission Time | |
---|---|
Task | A - Multiple Pieces |
User | r1705 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 440 Byte |
Status | WA |
Exec Time | 6 ms |
Memory | 256 KB |
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 | 5 ms | 256 KB |
subtask_01_02.txt | WA | 5 ms | 256 KB |
subtask_01_03.txt | WA | 6 ms | 256 KB |
subtask_01_04.txt | WA | 5 ms | 256 KB |
subtask_01_05.txt | WA | 5 ms | 256 KB |
subtask_01_06.txt | WA | 5 ms | 256 KB |
subtask_01_07.txt | WA | 5 ms | 256 KB |
subtask_01_08.txt | WA | 6 ms | 256 KB |
subtask_01_09.txt | WA | 5 ms | 256 KB |
subtask_01_10.txt | WA | 6 ms | 256 KB |