Pagini recente » Borderou de evaluare (job #590205) | Borderou de evaluare (job #2122991) | Borderou de evaluare (job #199187) | Borderou de evaluare (job #2277663) | Borderou de evaluare (job #1676212)
Borderou de evaluare (job #1676212)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &Q);
^
user.cpp:35:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘void solve()’:
user.cpp:284:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:286:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &node, &x);
^
user.cpp:289:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &cnt, &mod);
^
user.cpp:292:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘int main()’:
user.cpp:302:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hardtask.in", "r", stdin);
^
user.cpp:303:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hardtask.out", "w", stdout);
^
user.cpp: In function ‘void updateDP(int, std::vector<int>&, int)’:
user.cpp:142:50: warning: ‘heaviestChild’ may be used uninitialized in this function [-Wmaybe-uninitialized]
H[node].cntDist.swap(H[heaviestChild].cntDist);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 604ms | 32964kb | OK | 10 | 100 |
2 | 608ms | 32924kb | OK | 10 |
3 | 620ms | 32924kb | OK | 10 |
4 | 620ms | 33052kb | OK | 10 |
5 | 616ms | 32916kb | OK | 10 |
6 | 624ms | 35364kb | OK | 10 |
7 | 560ms | 36352kb | OK | 10 |
8 | 576ms | 35096kb | OK | 10 |
9 | 540ms | 32768kb | OK | 10 |
10 | 640ms | 32372kb | OK | 10 |
Punctaj total | 100 |