Pagini recente » Borderou de evaluare (job #2877040) | Borderou de evaluare (job #1358474) | Borderou de evaluare (job #2539497) | Borderou de evaluare (job #2537712) | Borderou de evaluare (job #1425549)
Borderou de evaluare (job #1425549)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:24:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; index < tree[curr].size(); ++index, ++currIndex[curr]) {
^
user.cpp: In function ‘int main()’:
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in", "r", stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out", "w", stdout);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:48:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:51:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 688kb | Incorect | 0 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 476kb | OK | 10 |
4 | 0ms | 468kb | Incorect | 0 |
5 | 0ms | 472kb | Incorect | 0 |
6 | 0ms | 476kb | Incorect | 0 |
7 | 8ms | 628kb | Incorect | 0 |
8 | 12ms | 712kb | Incorect | 0 |
9 | 12ms | 704kb | Incorect | 0 |
10 | 12ms | 700kb | Incorect | 0 |
Punctaj total | 20 |