Submission #1241545
Source Code Expand
#include<iostream> #include<algorithm> #include<cstdio> #include<cmath> #include<math.h> #include<string> #include<string.h> #include<stack> #include<queue> #include<vector> #include<utility> #include<set> #include<map> #include<stdlib.h> #include<iomanip> using namespace std; #define ll long long #define ld long double #define EPS 0.0000000001 #define INF 1e9 #define MOD 1000000007 #define rep(i,n) for(i=0;i<n;i++) #define loop(i,a,n) for(i=a;i<n;i++) #define all(in) in.begin(),in.end() #define shosu(x) fixed<<setprecision(x) typedef vector<int> vi; typedef pair<int,int> pii; int main(void) { int i,j; int n=30; int v[30][30]; rep(i,n)rep(j,n)cin>>v[i][j]; rep(i,n)rep(j,n) while(v[i][j]){ cout<<i<<" "<<j<<endl; v[i][j]--; } }
Submission Info
Submission Time | |
---|---|
Task | A - 高橋君の山崩しゲーム |
User | rika0384 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 810 Byte |
Status | WA |
Exec Time | 82 ms |
Memory | 512 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 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | 0 / 100000 | ||||||||||||||||||||
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 | 73 ms | 512 KB |
subtask_01_02.txt | WA | 77 ms | 512 KB |
subtask_01_03.txt | WA | 75 ms | 512 KB |
subtask_01_04.txt | WA | 79 ms | 512 KB |
subtask_01_05.txt | WA | 82 ms | 512 KB |
subtask_01_06.txt | WA | 76 ms | 512 KB |
subtask_01_07.txt | WA | 78 ms | 512 KB |
subtask_01_08.txt | WA | 74 ms | 512 KB |
subtask_01_09.txt | WA | 77 ms | 512 KB |
subtask_01_10.txt | WA | 79 ms | 512 KB |