Pagini recente » Borderou de evaluare (job #173117) | Borderou de evaluare (job #1332935) | Borderou de evaluare (job #461094) | Borderou de evaluare (job #179518) | Borderou de evaluare (job #1593049)
Borderou de evaluare (job #1593049)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int&)’:
user.cpp:33:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); i++)
^
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:6:22: warning: integer overflow in expression [-Woverflow]
#define Inf ((2<<30)-1)
^
user.cpp:42:21: note: in expansion of macro ‘Inf’
dist.assign(N+2,Inf);
^
user.cpp:51:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nOptim].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d%d", &p, &N, &M);
^
user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:67:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in", "rt", stdin);
^
user.cpp:68:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "wt", stdout);
^
user.cpp:70:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &p, &N, &M);
^
user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &d);
^
user.cpp:77:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &d);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 680kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 11 | 4ms | 632kb | Killed by signal 6(SIGABRT). | 0 |
| 12 | 0ms | 448kb | Raspuns gresit! | 0 |
| 13 | 516ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 4ms | 684kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 |