Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79684 李雨昊 校门外的树 C++ Compile Error 0 MS 0 KB 426 2024-07-09 14:23:30

Tests(0/0):


Code:

#include<cmath> #include<cstdio> #include<cstring> #include<iomanip> #include <limits> #include<iostream> #include <conio.h> #include <windows.h> #include<bits/stdc++.h> using namespace std; int main() { int l,m; cin>>l>>m; int a[l+1]={0},head,wei; for(int i=1;i<=m;i++){ cin>>head>>wei; for(int j=head;j<=wei;j++){ a[j]++; } } int s=0; if(a[i] ==0){ s++; }cout<<s; return 0; }


Run Info:

Main.cc:7:19: fatal error: conio.h: No such file or directory
 #include 
                   ^
compilation terminated.