Pagini recente » Borderou de evaluare (job #101960) | Borderou de evaluare (job #333092) | Borderou de evaluare (job #574505) | Borderou de evaluare (job #862529) | Borderou de evaluare (job #1488629)
Borderou de evaluare (job #1488629)
Raport evaluator
Compilare:
user.cpp: In function ‘int compute(int, int)’:
user.cpp:66:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int bit = 0; bit < aux.size(); bit++)
^
user.cpp: In function ‘int main()’:
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subarbore.in","r",stdin);
^
user.cpp:82:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subarbore.out","w",stdout);
^
user.cpp:84:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:90:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &cost);
^
user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:96:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= t; i++) scanf("%d", &boss[i]);
^
user.cpp: In function ‘int compute(int, int)’:
user.cpp:53:41: warning: ‘node’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[head][state] = roy[head][node];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 5 | 5 |
2 | 0ms | 456kb | OK | 5 | 5 |
3 | 0ms | 460kb | OK | 5 | 5 |
4 | 0ms | 476kb | OK | 5 | 10 |
5 | 12ms | 480kb | OK | 5 |
6 | 0ms | 484kb | OK | 5 | 10 |
7 | 4ms | 492kb | OK | 5 |
8 | 4ms | 488kb | OK | 5 | 10 |
9 | 0ms | 488kb | OK | 5 |
10 | 20ms | 488kb | OK | 5 | 5 |
11 | 0ms | 460kb | OK | 5 | 5 |
12 | 0ms | 456kb | OK | 5 | 5 |
13 | 0ms | 452kb | OK | 5 | 5 |
14 | 60ms | 492kb | OK | 5 | 10 |
15 | 4ms | 480kb | OK | 5 |
16 | 56ms | 492kb | OK | 5 | 10 |
17 | 20ms | 484kb | OK | 5 |
18 | 0ms | 480kb | OK | 5 | 15 |
19 | 16ms | 484kb | OK | 5 |
20 | 0ms | 484kb | OK | 5 |
Punctaj total | 100 |