Pagini recente » Borderou de evaluare (job #623189) | Borderou de evaluare (job #2657028) | Borderou de evaluare (job #505141) | Borderou de evaluare (job #2847674) | Borderou de evaluare (job #1191339)
Borderou de evaluare (job #1191339)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&N,&M);
^
user.cpp:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:41:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&x,&y,&c);
^
user.cpp:41:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:41:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=2;i<=N;++i) (Dist[i]==INT_MAX) ? printf("0 ") : printf("%d ",Dist[i]);
^
user.cpp:35:33: 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:36:35: 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:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:41:31: 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 | 856kb | Incorect | 0 |
2 | 0ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 904kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 16ms | 1404kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 32ms | 1912kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 44ms | 2216kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 60ms | 2776kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 180ms | 5956kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 228ms | 7156kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |