結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-08-26 17:37:55 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 247 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 28,928 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-07 19:57:43 |
| 合計ジャッジ時間 | 1,308 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
int main(void)
{
long long int a,b,c,d;
scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
long long int ans = a*b*c%d;
printf("%lld",ans);
}
funakoshi