Pagini recente » Borderou de evaluare (job #1207127) | Borderou de evaluare (job #2506170) | Borderou de evaluare (job #867095) | Borderou de evaluare (job #1138732) | Borderou de evaluare (job #1785055)
Borderou de evaluare (job #1785055)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "r", stdin);
^
user.cpp:41:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "w", stdout);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:44:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &volume[i]);
^
user.cpp: In function ‘int binarySearch(int, int, int)’:
user.cpp:36:12: warning: ‘solution’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return solution;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 300kb | OK | 10 |
7 | 4ms | 312kb | OK | 10 |
8 | 4ms | 320kb | OK | 10 |
9 | 4ms | 316kb | OK | 10 |
10 | 4ms | 324kb | OK | 10 |
Punctaj total | 100 |