运行 ID: 205

Main.cc:1:2: error: invalid preprocessing directive #nclude; did you mean #include?
 #nclude
  ^~~~~~
  include
Main.cc: In function ‘int main()’:
Main.cc:5:12: error: ‘scanf’ was not declared in this scope
     while (scanf("%d", &n) != EOF) {
            ^~~~~
Main.cc:5:31: error: ‘EOF’ was not declared in this scope
     while (scanf("%d", &n) != EOF) {
                               ^~~
Main.cc:5:31: note: ‘EOF’ is defined in header ‘’; did you forget to ‘#include ’?
Main.cc:1:1:
+#include 
 #nclude
Main.cc:5:31:
     while (scanf("%d", &n) != EOF) {
                               ^~~
Main.cc:6:9: error: ‘printf’ was not declared in this scope
         printf("%d\n", n * (n + 1) / 2 );
         ^~~~~~
Main.cc:6:9: note: ‘printf’ is defined in header ‘’; did you forget to ‘#include ’?