Submission #26054

#TimeUsernameProblemLanguageResultExecution timeMemory
26054TAMREF0 = not cute / 1 = cute (kriii1_0)C++11
0 / 1
0 ms1116 KiB
#include <cstdio> int main(){ int N,u,x=0; for(scanf("%d",&N);N--;){ scanf("%d",&u); x+=(u?1:-1); } puts(x>0?"Junhee is cute":"Junhee is not cute"); }

Compilation message (stderr)

0.cpp: In function 'int main()':
0.cpp:4:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   for(scanf("%d",&N);N--;){
                     ^
0.cpp:5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&u);
                   ^
#Verdict Execution timeMemoryGrader output
Fetching results...