Record Detail

Compile Error

/in/ex1.c: In function 'main':
/in/ex1.c:39:18: error: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Werror=sign-conversion]
     qsort(jishu, argc, sizeof(count_name), cmp);
                  ^~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Problem
Mid2 Ex1
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:44:52
Judged At
2022-07-08 16:06:13
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes