Pagini recente » Borderou de evaluare (job #2267974) | Borderou de evaluare (job #1073393) | Borderou de evaluare (job #2629291) | Borderou de evaluare (job #1745501) | Borderou de evaluare (job #2320917)
Borderou de evaluare (job #2320917)
Raport evaluator
Compilare:
main.cpp: In function 'int findMaxIntervals()':
main.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cpt.size(); ++i)
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:64:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.in", "r", stdin);
^
main.cpp:65:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.out", "w", stdout);
^
main.cpp:67:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:69:64: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &intv[i].x, &intv[i].y, &intv[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 84ms | 2482kb | OK | 10 |
5 | 92ms | 2609kb | OK | 10 |
6 | 28ms | 913kb | OK | 10 |
7 | 105ms | 2871kb | OK | 10 |
8 | 84ms | 2482kb | OK | 10 |
9 | 147ms | 4706kb | OK | 10 |
10 | 16ms | 851kb | OK | 10 |
Punctaj total | 100 |