Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

DP Optimization another kind

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1.56 sec, absolute service time: 1,56 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp: In function ‘int main()’:
source_file.cpp:73:20: error: ‘gets’ was not declared in this scope
         gets(buffer);
                    ^
source_file.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d\n",&n ,&gon);
                             ^