Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165124 郦辰希 晚餐 C++ Compile Error 0 MS 0 KB 520 2026-11-10 20:40:46

Tests(0/0):


Code:

#include <bits\stdc++.h> using namespace std; int main() { int N; while (cin >> N) { bool first = true; for (int i = 0; i < N; i++) { string s; cin >> s; if (s == "bowl" || s == "knife" || s == "fork" || s == "chopsticks") { if (!first) cout << " "; cout << s; first = false; } } cout << endl; } return 0; }


Run Info:

Main.cc:1:25: fatal error: bits\stdc++.h: No such file or directory
 #include 
                         ^
compilation terminated.