제출 #21092

#제출 시각아이디문제언어결과실행 시간메모리
21092yunhoo90scanf 함수 5 (BSC_0_7)C++11
100 / 100
0 ms2020 KiB
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <stack>
#include <list>
#include <memory.h>

#pragma warning(disable:4996)

using namespace std;


int main() {
	double a, b;
	cin >> a >> b;
	double ans = (a + b) / 2;
	cout << ans << endl;
	return 0;
}

컴파일 시 표준 에러 (stderr) 메시지

scanf5.cpp:9:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 ^

#Verdict Execution timeMemoryGrader output
Fetching results...