Pagini recente » Borderou de evaluare (job #1116627) | Borderou de evaluare (job #1178392) | Borderou de evaluare (job #251791) | Borderou de evaluare (job #35695) | Borderou de evaluare (job #2408503)
Borderou de evaluare (job #2408503)
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::lower_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 | 10ms | 4980kb | OK | 10 |
2 | 13ms | 4980kb | OK | 10 |
3 | 181ms | 9297kb | OK | 10 |
4 | 165ms | 7860kb | OK | 10 |
5 | 146ms | 7204kb | OK | 10 |
6 | 184ms | 10346kb | OK | 10 |
7 | 136ms | 6283kb | OK | 10 |
8 | 157ms | 6152kb | OK | 10 |
9 | 149ms | 6938kb | OK | 10 |
10 | 141ms | 6414kb | OK | 10 |
Punctaj total | 100 |