Pagini recente » Borderou de evaluare (job #3168438) | Borderou de evaluare (job #1598012) | Borderou de evaluare (job #3199365) | Monitorul de evaluare | Borderou de evaluare (job #1513799)
Borderou de evaluare (job #1513799)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:31:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘void merge_them(int*, int*, int*)’:
user.cpp:49:13: warning: unused variable ‘limit’ [-Wunused-variable]
int limit = k - i;
^
user.cpp: In function ‘void compute(int)’:
user.cpp:83:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < list[node].size(); i++)
^
user.cpp:91:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:101:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camion2.in","r",stdin);
^
user.cpp:102:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camion2.out","w",stdout);
^
user.cpp:104:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k); k--;
^
user.cpp:106:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &d);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 764kb | Incorect | 0 |
| 2 | 0ms | 484kb | Incorect | 0 |
| 3 | 4ms | 748kb | Incorect | 0 |
| 4 | 0ms | 484kb | OK | 5 |
| 5 | 4ms | 612kb | OK | 5 |
| 6 | 0ms | 572kb | Incorect | 0 |
| 7 | 0ms | 500kb | Incorect | 0 |
| 8 | 4ms | 684kb | Incorect | 0 |
| 9 | 4ms | 716kb | Incorect | 0 |
| 10 | 0ms | 484kb | Incorect | 0 |
| 11 | 4ms | 832kb | Incorect | 0 |
| 12 | 0ms | 504kb | Incorect | 0 |
| 13 | 0ms | 888kb | Incorect | 0 |
| 14 | 0ms | 512kb | OK | 5 |
| 15 | 0ms | 484kb | OK | 5 |
| 16 | 0ms | 516kb | Incorect | 0 |
| 17 | 0ms | 604kb | Incorect | 0 |
| 18 | 0ms | 628kb | Incorect | 0 |
| 19 | 0ms | 484kb | Incorect | 0 |
| 20 | 0ms | 520kb | Incorect | 0 |
| Punctaj total | 20 |