Showing posts with label run. Show all posts
Showing posts with label run. Show all posts

Wednesday, December 7, 2016

Segment Tree On the run

Segment Tree On the run


Im trying to implement Segment Tree and maybe will solve some problems using it, prior to ICPC. Heres some resource that Im using
  • http://codeforces.com/blog/entry/3327
  • http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=lowestCommonAncestor
  • http://apps.topcoder.com/forums/;jsessionid=2DA32E9BC12C8C331BCC8441B68E278E?module=Thread&threadID=754366&start=0&mc=4#1572259
  • http://ronzii.wordpress.com/2011/07/08/segment-tree-tutorial/
  • http://en.wikipedia.org/wiki/Segment_tree


Go to link download

Read more »

Wednesday, November 23, 2016

Run Code Blocks programs using Gnome Terminal Konsole etc

Run Code Blocks programs using Gnome Terminal Konsole etc


Ok, so we all (mostly) love Code::Blocks. But using the XTerm window (the one you get to test your codes into) is a real pain (for me at least) in the ... Instead I wanted to use the default terminal that I use for commands. Now, Ive been a user of Gnome-Terminal for quite sometime and now have shifted to KDE. So now I use Konsole. Finding the exact attribute string is a bit annoying after each install so heres a collection. Ill add more when I use more.
For Konsole:
konsole --workdir $WORKDIR --title $TITLE -e

For Gnome - Terminal
gnome-terminal $TITLE -x

For X-Term
xterm -T $TITLE -e


Credits:
Eragon0605: [ http://ubuntuforums.org/showpost.php?p=9190211&postcount=3 ]
jens: [ http://forums.codeblocks.org/index.php/topic,11245.msg76596.html#msg76596 ]


Go to link download

Read more »