#include <stdio.h> int main(void) { int a; scanf("%d",&a); int s=a%3600; printf("s=%d\n",s); return 0;}
Standard input is empty
s=366
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!