Pagini recente » Borderou de evaluare (job #2443338) | Borderou de evaluare (job #1741446) | Borderou de evaluare (job #2468947) | Borderou de evaluare (job #1582041) | Borderou de evaluare (job #1307344)
Borderou de evaluare (job #1307344)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:52:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
user.cpp:56:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (!f[tata][fiu] && !dist[tata][fiu] || dist[tata][fiu] > dist[tata][nod] + v[nod][i].lung)
^
user.cpp: In function ‘int main()’:
user.cpp:123:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ubuntzei.in", "r", stdin);
^
user.cpp:124:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ubuntzei.out", "w", stdout);
^
user.cpp:128:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &m, &k);
^
user.cpp:131:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &oras[i]);
^
user.cpp:135:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &x, &y, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 5 |
| 2 | 0ms | 304kb | OK | 5 |
| 3 | 0ms | 308kb | OK | 5 |
| 4 | 0ms | 424kb | OK | 5 |
| 5 | 0ms | 528kb | OK | 5 |
| 6 | 0ms | 736kb | OK | 5 |
| 7 | 0ms | 1124kb | OK | 5 |
| 8 | 4ms | 1904kb | OK | 5 |
| 9 | 12ms | 6528kb | OK | 5 |
| 10 | 24ms | 12696kb | OK | 5 |
| 11 | 48ms | 25020kb | OK | 5 |
| 12 | 48ms | 25016kb | OK | 5 |
| 13 | 96ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 88ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 80ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 100ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 100ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 100ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 0ms | 304kb | OK | 5 |
| Punctaj total | 65 |