結果
| 問題 |
No.8017 エスパー
|
| ユーザー |
startcpp
|
| 提出日時 | 2016-07-24 11:01:54 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 130 bytes |
| コンパイル時間 | 646 ms |
| コンパイル使用メモリ | 54,328 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-06 15:48:40 |
| 合計ジャッジ時間 | 4,230 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 20 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat=]
8 | printf("%s", k);
| ~^ ~
| | |
| | int
| char*
| %d
ソースコード
#include <iostream>
#include <cstdio>
using namespace std;
int main() {
int s, k;
cin >> s >> k;
printf("%s", k);
return 0;
}
startcpp