Problem sandd
User user123
Submission Time 2026-03-12 21:06:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:13:5: error: ‘assert’ was not declared in this scope
13 | assert(0);
| ^~~~~~
sandd.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
1 | #include "sandd.h"
+++ |+#include <cassert>
2 | int getPrice(int P)