Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4938 | alpha | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 137 | 2024-10-07 10:41:19 |
#incude <iostream> int main(void){ int y,n;float x; std::cin>>n>>x>>y; std::cout<<(n-y/x)%1; return 0;}
Main.cc:1:2: error: invalid preprocessing directive #incude #incude ^ Main.cc: In function 'int main()': Main.cc:5:10: error: 'cin' is not a member of 'std' std::cin>>n>>x>>y; ^ Main.cc:6:10: error: 'cout' is not a member of 'std' std::cout<(n-y/x)%1; ^ Main.cc:6:29: error: invalid operands of types 'float' and 'int' to binary 'operator%' std::cout<<(n-y/x)%1; ^