Pagini recente » Borderou de evaluare (job #2644922) | Borderou de evaluare (job #3177791) | Borderou de evaluare (job #1968604) | Borderou de evaluare (job #1014433) | Borderou de evaluare (job #1676202)
Borderou de evaluare (job #1676202)
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:317:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:319: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:322: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:325: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:335: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:336: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:149: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 | 612ms | 32968kb | OK | 10 | 100 |
2 | 616ms | 32920kb | OK | 10 |
3 | 632ms | 32924kb | OK | 10 |
4 | 636ms | 33048kb | OK | 10 |
5 | 628ms | 32916kb | OK | 10 |
6 | 636ms | 35364kb | OK | 10 |
7 | 572ms | 36348kb | OK | 10 |
8 | 584ms | 35092kb | OK | 10 |
9 | 548ms | 32768kb | OK | 10 |
10 | 656ms | 32364kb | OK | 10 |
Punctaj total | 100 |