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