結果
| 問題 |
No.591 (^o^)/
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-21 16:11:12 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 292 bytes |
| コンパイル時間 | 455 ms |
| コンパイル使用メモリ | 55,920 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-26 08:10:41 |
| 合計ジャッジ時間 | 1,029 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:12:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
12 | scanf(" %c ",&eye);
| ~~~~~^~~~~~~~~~~~~
main.cpp:13:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
13 | scanf(" %c ",&mouth);
| ~~~~~^~~~~~~~~~~~~~~
ソースコード
//591.cpp
#include <vector>
#include <iostream>
#include <cstdio>
#define REP(i,n) for(int i=0;i<n;i++)
using namespace std;
typedef unsigned long ul;
typedef pair<ul, ul> P;
int main() {
char eye,mouth;
scanf(" %c ",&eye);
scanf(" %c ",&mouth);
printf("(%c%c%c)/\n", eye,mouth,eye);
}