| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165466 | 林睿 | 【基础题】绝对值 | C++ | Compile Error | 0 MS | 0 KB | 115 | 2026-11-15 16:59:19 |
#include<bits/stdc++.h> using namespace std; int main() { double n; cin>>n; printf("n.%2f") return 0; }
Main.cc: In function 'int main()':
Main.cc:7:16: warning: format '%f' expects a matching 'double' argument [-Wformat=]
printf("n.%2f")
^
Main.cc:8:2: error: expected ';' before 'return'
return 0;
^