Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76288 胡盛哲 12自由落体 C++ Compile Error 0 MS 0 KB 87 2024-06-02 10:16:32

Tests(0/0):


Code:

int g = n % 10; int s = n / 10 % 10; int b = n / 100 % 10; int q = n / 1000 % 10;


Run Info:

Main.cc:1:9: error: 'n' was not declared in this scope
 int g = n % 10;
         ^
Main.cc:2:10: error: 'n' was not declared in this scope
  int s = n / 10 % 10;
          ^
Main.cc:3:10: error: 'n' was not declared in this scope
  int b = n / 100 % 10;
          ^
Main.cc:4:10: error: 'n' was not declared in this scope
  int q = n / 1000 % 10;
          ^