Pagini recente » Borderou de evaluare (job #1977422) | Borderou de evaluare (job #1967406) | Borderou de evaluare (job #2667388) | Borderou de evaluare (job #1851890) | Borderou de evaluare (job #1548682)
Borderou de evaluare (job #1548682)
Raport evaluator
Compilare:
user.cpp: In function ‘void Test()’:
user.cpp:73:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &net.N, &M), net.S = 1, net.D = net.N;
^
user.cpp:77:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &x, &y, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:94:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("politia.in", "r", stdin);
^
user.cpp:95:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("politia.out", "w", stdout);
^
user.cpp:97:112: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d %d", &N2, &N4, &N1, &N3, &N5), net.N = N1 + N2 + N3 + N4 + N5 + 2, net.S = 1, net.D = net.N;
^
user.cpp:106:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &l);
^
user.cpp:108:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x), net.add_edge (code (1, x), code (2, i), 1);
^
user.cpp:109:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &l);
^
user.cpp:111:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x), net.add_edge (code (2, i), code (3, x), 1);
^
user.cpp:117:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &l);
^
user.cpp:119:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x), net.add_edge (code (3, x), code (4, i), 1);
^
user.cpp:120:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &l);
^
user.cpp:122:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x), net.add_edge (code (4, i), code (5, x), 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 424kb | OK | 10 |
| 2 | 0ms | 472kb | OK | 10 |
| 3 | 0ms | 472kb | Incorect | 0 |
| 4 | 4ms | 548kb | OK | 10 |
| 5 | 4ms | 512kb | Incorect | 0 |
| 6 | 4ms | 548kb | Incorect | 0 |
| 7 | 4ms | 652kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 4ms | 656kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 652kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 4ms | 656kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |