結果
| 問題 |
No.1499 羊が、何匹だっけ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-05 23:13:46 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 333 bytes |
| コンパイル時間 | 134 ms |
| コンパイル使用メモリ | 28,032 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-19 17:40:23 |
| 合計ジャッジ時間 | 3,286 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | WA * 1 RE * 9 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#define BUFSIZE 30
int main(void)
{
int t,i,num;
char s[BUFSIZE],s1[BUFSIZE],s2[BUFSIZE],s3[BUFSIZE];
scanf("%d",&t);
for(i=0;i<t;i++){
fgets(s,BUFSIZE,stdin);
sscanf(s,"Hitsuji ga %d hiki\n",num);
printf("Hitsuji ga %d hiki\n",num+1);
printf("%s",s);
}
return 0;
}