Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2604 | 孙浚轩 | 美丽数 | C++ | Runtime Error | 2268 MS | 260 KB | 372 | 2024-01-14 19:01:50 |
#include <iostream> using namespace std; int main() { int N; while (std::cin >> N) { int count = 0; int number = 0; while (count < N) { number++; if (number % 3 == 0 || number % 5 == 0) { count++; } } std::cout << number << std::endl; } return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275