結果
| 問題 |
No.666 1000000007で割るだけ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-03 14:41:07 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 116 bytes |
| コンパイル時間 | 219 ms |
| コンパイル使用メモリ | 19,968 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-05 12:21:23 |
| 合計ジャッジ時間 | 788 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:2:30: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2 | int main(void){long long a,b;scanf("%lld%lld",&a,&b);printf("%lld\n",(a*b)%1000000007);return 0;}
| ^~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void){long long a,b;scanf("%lld%lld",&a,&b);printf("%lld\n",(a*b)%1000000007);return 0;}