結果
| 問題 |
No.666 1000000007で割るだけ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-17 20:50:10 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 150 bytes |
| コンパイル時間 | 525 ms |
| コンパイル使用メモリ | 62,336 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-11 11:17:19 |
| 合計ジャッジ時間 | 1,363 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 24 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:5:18: warning: 'a' is used uninitialized [-Wuninitialized]
5 | long long s=a*b;
| ~^~
main.cpp:4:9: note: 'a' declared here
4 | int a,b;
| ^
main.cpp:5:18: warning: 'b' is used uninitialized [-Wuninitialized]
5 | long long s=a*b;
| ~^~
main.cpp:4:11: note: 'b' declared here
4 | int a,b;
| ^
ソースコード
#include <iostream>
using namespace std;
int main(){
int a,b;
long long s=a*b;
cin >> a >>b;
cout<<s%1000000007<<endl;
return 0;
}