#include <stdio.h> int main() { int V[100000]; for(int i=0; i<100000; i++){ scanf("%d", &V[i]); if(V[i]==2018){ printf("%d", i); break; } } return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: