結果
| 問題 | No.835 ジュース |
| コンテスト | |
| ユーザー |
mag
|
| 提出日時 | 2020-06-17 13:23:01 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 246 bytes |
| 記録 | |
| コンパイル時間 | 1,484 ms |
| コンパイル使用メモリ | 164,552 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-03 12:11:23 |
| 合計ジャッジ時間 | 1,906 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 6 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:11:11: warning: 'n' is used uninitialized [-Wuninitialized]
11 | cout<<n*1.5<<endl;
| ^~~
main.cpp:10:6: note: 'n' was declared here
10 | ll n;
| ^
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
#define rep2(i, a, n) for(int i = (a); i < (n); i++)
#define rep(i, n) rep2(i,0,n)
int main(){
cin.tie(nullptr);ios_base::sync_with_stdio(false);
ll n;
cout<<n*1.5<<endl;
}
mag