Pagini recente » Borderou de evaluare (job #759089) | Borderou de evaluare (job #222690) | Cod sursa (job #2007262) | Borderou de evaluare (job #334781) | Borderou de evaluare (job #1448962)
Borderou de evaluare (job #1448962)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int)’:
user.cpp:31:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<fii[nod].size (); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arbvalmax.in", "r", stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arbvalmax.out", "w", stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &M);
^
user.cpp:51:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t[i]), fii[t[i]].push_back (i);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &val[i]);
^
user.cpp:62:28: 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 | 4ms | 3840kb | OK | 10 |
| 2 | 4ms | 3836kb | OK | 10 |
| 3 | 12ms | 3836kb | OK | 10 |
| 4 | 12ms | 3828kb | OK | 10 |
| 5 | 40ms | 4528kb | OK | 10 |
| 6 | 168ms | 7388kb | OK | 10 |
| 7 | 248ms | 9192kb | OK | 10 |
| 8 | 440ms | 13116kb | OK | 10 |
| 9 | 480ms | 13828kb | OK | 10 |
| 10 | 516ms | 14532kb | OK | 10 |
| Punctaj total | 100 |