Pagini recente » Borderou de evaluare (job #1322516) | Borderou de evaluare (job #1267362) | Borderou de evaluare (job #892057) | Borderou de evaluare (job #1516289) | Borderou de evaluare (job #1906791)
Borderou de evaluare (job #1906791)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:31:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0; i < V[ nod ].size(); ++i ) {
^
user.cpp:17:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, fiu, nod, cost;
^
user.cpp: In function ‘int main()’:
user.cpp:49:17: warning: unused variable ‘j’ [-Wunused-variable]
int n,m, i, j, x, y, c;
^
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "dijkstra.in", "r", stdin );
^
user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "dijkstra.out", "w", stdout );
^
user.cpp:51:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d",&n,&m );
^
user.cpp:53:35: 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 | 1060kb | OK | 10 |
2 | 0ms | 1056kb | OK | 10 |
3 | 0ms | 1092kb | OK | 10 |
4 | 0ms | 1100kb | OK | 10 |
5 | 20ms | 1408kb | OK | 10 |
6 | 44ms | 1756kb | OK | 10 |
7 | 56ms | 1904kb | OK | 10 |
8 | 140ms | 2984kb | OK | 10 |
9 | 96ms | 2264kb | OK | 10 |
10 | 276ms | 5008kb | OK | 10 |
Punctaj total | 100 |