답안 #145836

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
145836 2019-08-21T07:07:14 Z uvelo 일차 함수 (tutorial4) C++14
25 / 100
3 ms 504 KB
#include <iostream>
#include "grader.h"
using namespace std;

void solve(){
	int a1, a2, a, b;
	b = f(0);
	a = f(1) - f(0);
	Report(a, b);
}

Compilation message

tutorial4.cpp: In function 'void solve()':
tutorial4.cpp:6:6: warning: unused variable 'a1' [-Wunused-variable]
  int a1, a2, a, b;
      ^~
tutorial4.cpp:6:10: warning: unused variable 'a2' [-Wunused-variable]
  int a1, a2, a, b;
          ^~
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 376 KB Output is correct
2 Correct 2 ms 384 KB Output is correct
3 Correct 2 ms 256 KB Output is correct
4 Correct 2 ms 256 KB Output is correct
5 Correct 2 ms 376 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 376 KB Output is correct
2 Correct 2 ms 504 KB Output is correct
3 Correct 2 ms 504 KB Output is correct
4 Correct 2 ms 256 KB Output is correct
5 Correct 2 ms 384 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Runtime error 3 ms 376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -