結果
| 問題 | No.712 赤旗 |
| コンテスト | |
| ユーザー |
hooooyaert
|
| 提出日時 | 2018-07-20 21:35:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 359 bytes |
| コンパイル時間 | 606 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 44,332 KB |
| 最終ジャッジ日時 | 2024-12-26 04:30:49 |
| 合計ジャッジ時間 | 5,306 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 |
ソースコード
import numpy as np
def count(row,colum):
num=0
for i in range(row):
for j in range(colum):
if A[i][j] == 'W':
num += 1
return num
#入力ゾーン
A = np.array([['W','W','R','W'],
['W','R','W','W'],
['W','W','W','R']])
#出力ゾーン
print('塗る回数',count(A.shape[0],A.shape[1]))
hooooyaert