結果
| 問題 | No.1828 Except 3 |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-19 11:03:29 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 369 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 38,208 KB |
| 最終ジャッジ日時 | 2026-02-22 13:20:01 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 16 |
ソースコード
#include <stdio.h>
void main(void){
int n = 0;
scanf("%d",&n);
//long long int numList[3][n];
long long int num = 0;
int NotList[3] = {0,0,0};
for(int i = 0;i < 3;i++){
for(int j = 0 ; j < n ; j++){
//scanf("%lld",&numList[i][j]);
scanf("%lld",&num);
if(num %3 != 0){
NotList[i]++;
}
}
}
printf("%d",NotList[0]*NotList[1]*NotList[2]);
}
Maeda