Untitled

Run Settings
LanguageC
Language Version
Run Command
#include<stdio.h> int main(void){ int n,cod,cl,i=1,c=1,maior=0;; while(scanf("%d",&n)!=EOF){ printf("Teste %d\n",c); i=1; while(i<=n){ scanf("%d %d",&cod,&cl); if(cl>maior) cl=maior; i++; } printf("%d\n",maior); c++; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines