Pagini recente » Borderou de evaluare (job #1545988) | Borderou de evaluare (job #1775375) | Borderou de evaluare (job #351590) | Borderou de evaluare (job #750180) | Borderou de evaluare (job #1867067)
Borderou de evaluare (job #1867067)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch(int, int)’:
user.cpp:21:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ans + step < v[value].size() && v[value][ans+step] <= pos)
^
user.cpp: In function ‘int main()’:
user.cpp:29:36: 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);
^
user.cpp:30:38: 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);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Q);
^
user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &q, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3388kb | Incorect | 0 |
2 | 4ms | 3388kb | Incorect | 0 |
3 | 136ms | 5264kb | Incorect | 0 |
4 | 128ms | 4484kb | Incorect | 0 |
5 | 124ms | 4324kb | Incorect | 0 |
6 | 136ms | 5492kb | Incorect | 0 |
7 | 116ms | 4056kb | Incorect | 0 |
8 | 120ms | 3800kb | Incorect | 0 |
9 | 108ms | 4040kb | Incorect | 0 |
10 | 116ms | 4060kb | Incorect | 0 |
Punctaj total | 0 |