Pagini recente » Borderou de evaluare (job #475443) | Borderou de evaluare (job #1799284) | Borderou de evaluare (job #1761575) | Borderou de evaluare (job #106239) | Borderou de evaluare (job #2408502)
Borderou de evaluare (job #2408502)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:90: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__normal_iterator<int*, std::vector<int> >::difference_type {aka long int}' [-Wformat=]
printf("%d\n", std::upper_bound(pos[x].begin(), pos[x].end(), num) - pos[x].begin());
^
main.cpp:7:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.in", "r", stdin);
^
main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.out", "w", stdout);
^
main.cpp:11:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrOp);
^
main.cpp:17:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &type, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4980kb | Incorect | 0 |
2 | 13ms | 4849kb | Incorect | 0 |
3 | 190ms | 9297kb | OK | 10 |
4 | 163ms | 7729kb | OK | 10 |
5 | 179ms | 7204kb | Incorect | 0 |
6 | 195ms | 10215kb | OK | 10 |
7 | 153ms | 6414kb | Incorect | 0 |
8 | 158ms | 6152kb | Incorect | 0 |
9 | 147ms | 6938kb | Incorect | 0 |
10 | 136ms | 6426kb | Incorect | 0 |
Punctaj total | 30 |