Pagini recente » Borderou de evaluare (job #3258557) | Borderou de evaluare (job #1174592) | Borderou de evaluare (job #1778127) | Borderou de evaluare (job #1885651) | Borderou de evaluare (job #1187168)
Borderou de evaluare (job #1187168)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:8:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:9:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&M);
^
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:24:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,minim,k,gata;
^
user.cpp:25:22: warning: variable ‘pred’ set but not used [-Wunused-but-set-variable]
int viz[N+1],d[N+1],pred[N+1];
^
user.cpp: In function ‘int main()’:
user.cpp:56:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘void citire()’:
user.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:9:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&i,&j,&cost);
^
user.cpp: In function ‘int main()’:
user.cpp:57:34: 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:58:36: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | Incorect | 0 |
3 | 4ms | 2248kb | Incorect | 0 |
4 | 8ms | 4180kb | Incorect | 0 |
5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 36ms | Depăşit | Memory limit exceeded. | 0 |
9 | 36ms | Depăşit | Memory limit exceeded. | 0 |
10 | 36ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 10 |