Pagini recente » Borderou de evaluare (job #1825517) | Borderou de evaluare (job #1784267)
Borderou de evaluare (job #1784267)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<Range> crossCover(const std::vector<Range>&, const std::vector<Range>&)’:
user.cpp:26:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < fiCover.size(); i++) {
^
user.cpp:27:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < seCover.size(); j++) {
^
user.cpp: In function ‘int Solve(int)’:
user.cpp:54:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r.size(); i++) s += r[i].y - r[i].x + 1;
^
user.cpp: In function ‘int main()’:
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifrul.in", "r", stdin);
^
user.cpp:64:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifrul.out", "w", stdout);
^
user.cpp:67:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &tCase); tCase != 0; tCase--) {
^
user.cpp:68:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &k, &d);
^
user.cpp:71:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 0 |