結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-01-15 21:58:20 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 210 bytes |
| コンパイル時間 | 446 ms |
| コンパイル使用メモリ | 55,128 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-24 03:29:51 |
| 合計ジャッジ時間 | 994 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 8 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:9:17: warning: ‘x’ is used uninitialized [-Wuninitialized]
9 | cout << x;
| ^
ソースコード
#include<iostream>
#include<vector>
#include<string>
#include<cstdio>
using namespace std;
int main(){
int x;
for(int i=1;i<11;i++){
cout << x;
if(x!=i) cout<<i;
}
return 0;
}
focus