結果
問題 |
No.128 お年玉(1)
|
ユーザー |
![]() |
提出日時 | 2020-03-21 15:59:35 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 110 bytes |
コンパイル時間 | 1,708 ms |
コンパイル使用メモリ | 166,260 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-10-01 11:15:17 |
合計ジャッジ時間 | 2,468 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 3 WA * 18 |
コンパイルメッセージ
main.cpp: In function 'int main()': main.cpp:5:14: warning: 'y' is used uninitialized [-Wuninitialized] 5 | int y,n;y/=1000; | ~^~~~~~ main.cpp:5:9: note: 'y' was declared here 5 | int y,n;y/=1000; | ^ main.cpp:6:12: warning: 'n' is used uninitialized [-Wuninitialized] 6 | cout<<y/n*1000<<endl; | ~^~ main.cpp:5:11: note: 'n' was declared here 5 | int y,n;y/=1000; | ^
ソースコード
#include <bits/stdc++.h> using namespace std; signed main(){ int y,n;y/=1000; cout<<y/n*1000<<endl; }