Pagini recente » Borderou de evaluare (job #2279640) | Borderou de evaluare (job #2682380) | Borderou de evaluare (job #1915232) | Borderou de evaluare (job #2539931) | Borderou de evaluare (job #1867072)
Borderou de evaluare (job #1867072)
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:49: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 | 28ms | 6516kb | Incorect | 0 |
2 | 28ms | 6516kb | Incorect | 0 |
3 | 176ms | 6524kb | Incorect | 0 |
4 | 160ms | 6520kb | Incorect | 0 |
5 | 160ms | 6516kb | Incorect | 0 |
6 | 180ms | 6524kb | Incorect | 0 |
7 | 144ms | 7196kb | Incorect | 0 |
8 | 148ms | 6924kb | Incorect | 0 |
9 | 140ms | 7232kb | Incorect | 0 |
10 | 144ms | 7188kb | Incorect | 0 |
Punctaj total | 0 |