Pagini recente » Borderou de evaluare (job #2101079) | Cod sursa (job #2501291) | Borderou de evaluare (job #964821) | Borderou de evaluare (job #2068991) | Borderou de evaluare (job #1207030)
Borderou de evaluare (job #1207030)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, pos;
^
user.cpp:37:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavymetal.in", "r", stdin);
^
user.cpp:38:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavymetal.out", "w", stdout);
^
user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:43:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=N; i++) scanf("%d %d", &bands[i].left, &bands[i].right);
^
user.cpp: In function ‘int BinSearch(int)’:
user.cpp:17:26: warning: ‘Closest’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int Begin, End, Mid, Closest;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 4ms | 312kb | Wall time limit exceeded. | 0 |
6 | 4ms | 312kb | Wall time limit exceeded. | 0 |
7 | 4ms | 316kb | Wall time limit exceeded. | 0 |
8 | 4ms | 312kb | Wall time limit exceeded. | 0 |
9 | 4ms | 320kb | Wall time limit exceeded. | 0 |
10 | 4ms | 316kb | Wall time limit exceeded. | 0 |
Punctaj total | 30 |