結果
| 問題 |
No.1499 羊が、何匹だっけ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-05 22:44:10 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 289 bytes |
| コンパイル時間 | 261 ms |
| コンパイル使用メモリ | 27,520 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-19 17:09:03 |
| 合計ジャッジ時間 | 2,982 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 10 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#define BUFSIZE 30
int main(void)
{
char s[BUFSIZE];
int t;
scanf("%d",&t);
printf("%d",t);
int num;
while (fgets(s, BUFSIZE, stdin)) {
sscanf(s,"Hitsuji ga %d hiki\n",num);
printf("Hitsuji ga %d hiki\n",num+1);
}
return 0;
}