| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67447 | 冯诚阳 | 短信计费 | C++ | Compile Error | 0 MS | 0 KB | 205 | 2024-03-16 15:35:56 |
#include<iostream> #include<cstdio> #include<cstring> using namespace std; float n,s,x; int dx(int a){ if (a%70==0) return a/70; if (a%70!=0) return a/70+1; }
Main.cc: In function 'int dx(int)': Main.cc:13:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status