Memory Exceeded

foo.cc:3:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main()
      |      ^
foo.cc: In function 'int main()':
foo.cc:8:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 |   scanf("%d",&n);
      |   ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥546ms ≥16.02 MiB
#2 Memory Exceeded ≥494ms ≥16.02 MiB

信息

递交者
类型
递交
题目
P1041 *组成的图形(1)
语言
C++
递交时间
2022-07-09 17:51:24
评测时间
2022-07-09 17:51:24
评测机
分数
0
总耗时
≥1041ms
峰值内存
≥16.02 MiB