Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
on_off
#include<iostream> using namespace std; int main() { int num; cin>num; if(int i=0;i<=num; i++) {if(num%3==0) {if(num%5==0) cout<<"off" else cout<<"ON";} cout<<num;} else cout<<"worng number"; } return 0; }
run
|
edit
|
history
|
help
0
2720
use of assert to check a particular situation! (throws error)
Finding the first digit of a number
Sort 0's 1's 2's
prepend
Median of row wise sorted matrix
Speed
ThreadContext
Matrix multiplication naive approach
poprawione_i_podzielone_1