Pagini recente » Borderou de evaluare (job #1363686) | Borderou de evaluare (job #598495) | Borderou de evaluare (job #677854) | Borderou de evaluare (job #573985) | Borderou de evaluare (job #1343580)
Borderou de evaluare (job #1343580)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautare(int, int, std::pair<int, int>)’:
user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.in", "r", stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out", "w", stdout);
^
user.cpp:57: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:59:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &input[i].first, &input[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 560kb | OK | 10 |
2 | 0ms | 564kb | OK | 10 |
3 | 0ms | 568kb | OK | 10 |
4 | 8ms | 580kb | OK | 10 |
5 | 16ms | 580kb | OK | 10 |
6 | 16ms | 572kb | OK | 10 |
7 | 32ms | 628kb | OK | 10 |
8 | 20ms | 588kb | OK | 10 |
9 | 28ms | 608kb | OK | 10 |
10 | 32ms | 632kb | OK | 10 |
Punctaj total | 100 |