結果
問題 |
No.299 蟻本が読めない
|
ユーザー |
![]() |
提出日時 | 2018-01-17 19:40:05 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 572 ms |
コンパイル使用メモリ | 57,972 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 06:53:34 |
合計ジャッジ時間 | 925 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 4 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:9:11: warning: ‘N’ is used uninitialized [-Wuninitialized] 9 | while(--N){ | ^~~
ソースコード
#include<iostream> #include<vector> #include<string> #include<cstdio> #include<algorithm> using namespace std; int main(){ unsigned long long N,ans=316; while(--N){ ans+=52; } cout << ans; return 0; }