結果
| 問題 |
No.933 おまわりさんこいつです
|
| コンテスト | |
| ユーザー |
rieaaddlreiuu
|
| 提出日時 | 2022-11-09 22:36:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 1,702 ms |
| コンパイル使用メモリ | 165,816 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-23 03:34:26 |
| 合計ジャッジ時間 | 3,274 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
scanf("%d",&N);
long temp;
int ans = 1;
for(int i=0;i<N;i++){
scanf("%ld",&temp);
ans *= temp % 9;
}
if(ans == 0){
ans = 9;
}
printf("%d",ans);
}
rieaaddlreiuu