Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8067 | 先明缜 | 11下一次奥运会 | C++ | Compile Error | 0 MS | 0 KB | 138 | 2025-06-12 20:03:31 |
include<bits/stdc++.h> using namespace std; int main(){ int y,ans; scanf("%d",&y); ans=4-y%4; printf("%d\n",ans); return 0; }
Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:5:15: error: 'scanf' was not declared in this scope scanf("%d",&y); ^ Main.cc:7:19: error: 'printf' was not declared in this scope printf("%d\n",ans); ^