Submission #838038

#TimeUsernameProblemLanguageResultExecution timeMemory
838038dugersurenscanf 함수 4 (BSC_0_6)C++14
100 / 100
1 ms300 KiB
#include <bits/stdc++.h> #define ll long long using namespace std; int main(){ // freopen("input.txt","r",stdin); // freopen("output.txt","w",stdout); char x[100]; int s=0;//sm=0,n,a[1001],mx; while(scanf("%s", x) == 1){ s++; } // for(int i=0;i<3;i++)cin>>a[i],sm+=a[i]; // mx=sm; // for(int i=3;i<n;i++){ // cin>>a[i]; // sm+=a[i]; // if(a[i]+a[i-1]+a[i-2]>mx)mx=a[i]+a[i-1]+a[i-2]; // } printf("%d",s); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...