Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126019 王培用 05等差数列 C++ Compile Error 0 MS 0 KB 131 2025-07-15 21:19:29

Tests(0/0):


Code:

#include<bits/stdc++>h> using namespace std; int main() { long long a1,a2,n; cin>>a1>>a2>>n; cout<<(a2-a1)*(n-1)+a1; }


Run Info:

Main.cc:1:23: warning: extra tokens at end of #include directive
 #includeh>
                       ^
Main.cc:1:24: fatal error: bits/stdc++>: No such file or directory
 #includeh>
                        ^
compilation terminated.