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

czekolada

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.32 sec, absolute service time: 0,46 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp: In function ‘int main()’:
source_file.cpp:14:17: warning: left operand of comma operator has no effect [-Wunused-value]
            j=0;j<N,j++)
                 ^
source_file.cpp:14:23: error: expected ‘;’ before ‘)’ token
            j=0;j<N,j++)
                       ^
source_file.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&D);
                   ^
source_file.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&N);
                       ^
source_file.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d", &szafa[N]);
                                   ^

        

    
                
λ
.NET NoSQL database for rapid development