Pagini recente » Borderou de evaluare (job #364391) | Borderou de evaluare (job #1407594) | Borderou de evaluare (job #1468919) | Cod sursa (job #109448) | Borderou de evaluare (job #1827051)
Borderou de evaluare (job #1827051)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:66:65: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (k > rap[nod].cate || k == rap[nod].cate && p.first < rap[nod].best)
^
user.cpp:76:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (k > rap[nod].cate || k == rap[nod].cate && key[nod] < rap[nod].best)
^
user.cpp: In function ‘void read()’:
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:37:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &key[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.in", "r", stdin);
^
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.out", "w", stdout);
^
user.cpp: In function ‘void solve(int)’:
user.cpp:75:39: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int k = (*rap[pos].m)[key[nod]];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 3192kb | OK | 5 | 5 |
| 2 | 4ms | 3192kb | OK | 5 | 5 |
| 3 | 4ms | 3192kb | Incorect | 0 | 0 |
| 4 | 4ms | 3192kb | OK | 5 | 5 |
| 5 | 4ms | 3288kb | OK | 5 | 5 |
| 6 | 4ms | 3288kb | Incorect | 0 | 0 |
| 7 | 4ms | 3288kb | Incorect | 0 | 0 |
| 8 | 4ms | 3324kb | Incorect | 0 | 0 |
| 9 | 288ms | 15964kb | OK | 5 | 0 |
| 10 | 200ms | 12364kb | Incorect | 0 |
| 11 | 216ms | 11632kb | OK | 5 |
| 12 | 268ms | 16624kb | OK | 5 |
| 13 | 332ms | 19056kb | Incorect | 0 | 0 |
| 14 | 228ms | 13556kb | Incorect | 0 |
| 16 | 224ms | 12052kb | Incorect | 0 |
| 17 | 376ms | 20780kb | Incorect | 0 |
| 15 | 200ms | 10852kb | OK | 5 | 0 |
| 18 | 304ms | 17812kb | Incorect | 0 |
| 19 | 288ms | 14216kb | OK | 5 |
| 20 | 300ms | 15020kb | Incorect | 0 |
| Punctaj total | 20 |