Pagini recente » Borderou de evaluare (job #1247316) | Borderou de evaluare (job #1690259) | Borderou de evaluare (job #2615738) | Borderou de evaluare (job #2928692) | Borderou de evaluare (job #1548683)
Borderou de evaluare (job #1548683)
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 | 420kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 0ms | 460kb | Incorect | 0 |
4 | 4ms | 544kb | OK | 10 |
5 | 4ms | 508kb | Incorect | 0 |
6 | 4ms | 548kb | Incorect | 0 |
7 | 24ms | 2416kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 20ms | 2408kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 20ms | 2404kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 20ms | 2412kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |