Submission #98801

#TimeUsernameProblemLanguageResultExecution timeMemory
98801mjhmjh11040 = not cute / 1 = cute (kriii1_0)C11
1 / 1
3 ms384 KiB
#include <stdio.h> int main() { int n, c = 0; scanf("%d", &n); for (int i = 0; i < n; i++) { int t; scanf("%d", &t); c += t ? 1 : -1; } printf("Junhee is "); if (c < 0) printf("not "); printf("cute!"); }

Compilation message (stderr)

0.c: In function 'main':
0.c:5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ^~~~~~~~~~~~~~~
0.c:8:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &t);
         ^~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...