結果
| 問題 |
No.729 文字swap
|
| コンテスト | |
| ユーザー |
173205080
|
| 提出日時 | 2019-07-12 08:58:49 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 150 ms |
| コンパイル使用メモリ | 27,520 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-16 21:34:25 |
| 合計ジャッジ時間 | 2,801 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 11 |
ソースコード
#include<stdio.h>
#include<stdlib.h>
#define df 0
int main(){
int i,j;
char s[20];
scanf("%s",s);
scanf("%d%d",i,j);
int c=s[i];
s[i]=s[j];
s[j]=c;
printf("%s\n",s);
return 0;
}
/// confirm df==0 ///
173205080