/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 0ms 284.0 KiB
#2 Wrong Answer 0ms 284.0 KiB

Code

#include <stdio.h>
int main() {
     int n;
     
      scanf("%d", &n);

     int count_ways(int n) {
     int ways = 0;

    for (int i = 1; i <= n; i++) {
        if (n % i == 0) {
            ways++;
        }
    }

    return ways;
}

    printf("%d", count_ways(n));

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1037 Generous CR
Contest
Brain booster #2
Language
C99 (GCC 13.2.0)
Submit At
2024-03-06 14:18:08
Judged At
2024-11-11 03:42:01
Judged By
Score
0
Total Time
0ms
Peak Memory
284.0 KiB