Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
prog.cc: In function 'int main()':
prog.cc:19:18: warning: statement has no effect [-Wunused-value]
             for(j; j<n ; j++)
                  ^
prog.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i = 0 ; i<n ; i++)
     ^~~
prog.cc:22:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
         k++ ;
         ^
DzisiaJjesTczwartek,
Exit Code:
0