結果
| 問題 |
No.552 十分簡単な星1の問題
|
| ユーザー |
myanta
|
| 提出日時 | 2017-08-11 22:30:19 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 160 bytes |
| コンパイル時間 | 355 ms |
| コンパイル使用メモリ | 22,144 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 21:11:29 |
| 合計ジャッジ時間 | 1,330 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 WA * 17 |
ソースコード
#include<cstdio>
int main(void)
{
char s[100];
while(scanf("%[0-9]\n", s)==1)
{
if(s[0]!='0') printf("%s0\n", s);
else printf("0\n");
}
return 0;
}
myanta