Pagini recente » Borderou de evaluare (job #1917066) | Borderou de evaluare (job #1582386) | Borderou de evaluare (job #1821604) | Borderou de evaluare (job #1276750) | Borderou de evaluare (job #2425624)
Borderou de evaluare (job #2425624)
Raport evaluator
Compilare:
main.cpp: In function 'bool BellmanFord(int, int)':
main.cpp:39:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0; i < V[ nod ].size(); ++i ) {
~~^~~~~~~~~~~~~~~~~
main.cpp:21:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, k, nod, fiu;
^
main.cpp:21:15: warning: unused variable 'k' [-Wunused-variable]
int i, j, k, nod, fiu;
^
main.cpp: In function 'int main()':
main.cpp:61:18: warning: unused variable 'j' [-Wunused-variable]
int n, m, i, j, k;
^
main.cpp:61:21: warning: unused variable 'k' [-Wunused-variable]
int n, m, i, j, k;
^
main.cpp:58:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "bellmanford.in", "r", stdin );
^
main.cpp:59:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "bellmanford.out", "w", stdout );
^
main.cpp:64:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n,&m );
^
main.cpp:66:36: 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 |
Punctaj/grupa |
| 1 | 4ms | 1310kb | OK | 5 | 5 |
| 2 | 4ms | 1310kb | OK | 5 | 5 |
| 3 | 4ms | 1310kb | OK | 5 | 5 |
| 4 | 4ms | 1310kb | OK | 5 | 5 |
| 5 | 5ms | 1310kb | OK | 5 | 5 |
| 6 | 4ms | 1310kb | OK | 5 | 10 |
| 7 | 8ms | 1310kb | OK | 5 |
| 8 | 51ms | 2228kb | OK | 5 | 15 |
| 9 | 60ms | 2228kb | OK | 5 |
| 10 | 10ms | 1310kb | OK | 5 |
| 11 | 84ms | 2883kb | OK | 5 | 20 |
| 12 | 147ms | 3407kb | OK | 5 |
| 13 | 104ms | 3014kb | OK | 5 |
| 14 | 168ms | 4194kb | OK | 5 |
| 15 | 220ms | 4587kb | OK | 5 | 15 |
| 16 | 194ms | 4063kb | OK | 5 |
| 17 | 29ms | 1310kb | OK | 5 |
| 18 | 258ms | 5242kb | OK | 5 | 15 |
| 19 | 341ms | 6029kb | OK | 5 |
| 20 | 35ms | 1310kb | OK | 5 |
| Punctaj total | 100 |