Pagini recente » Borderou de evaluare (job #1948097) | Borderou de evaluare (job #1943258) | Borderou de evaluare (job #1996752) | Borderou de evaluare (job #1080122) | Borderou de evaluare (job #1709273)
Borderou de evaluare (job #1709273)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p < events.size() && events[p].first <= q.first) {
^
user.cpp:54:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pq.in", "r", stdin);
^
user.cpp:55:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pq.out", "w", stdout);
^
user.cpp:57:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:62:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x, y; scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 200ms | 3988kb | OK | 10 | 100 |
2 | 228ms | 4524kb | OK | 10 |
3 | 200ms | 3872kb | OK | 10 |
4 | 208ms | 3816kb | OK | 10 |
5 | 224ms | 4412kb | OK | 10 |
6 | 228ms | 4332kb | OK | 10 |
7 | 204ms | 3992kb | OK | 10 |
8 | 212ms | 4172kb | OK | 10 |
9 | 216ms | 4180kb | OK | 10 |
10 | 212ms | 4120kb | OK | 10 |
Punctaj total | 100 |