Borderou de evaluare (job #1236657)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:47:54: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) scanf("%d",&Test[i]),D[i]=INF,viz[i]=false;
^
user.cpp:62:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<G[x].size();i++)
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distante.in","r",stdin);
^
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distante.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&M,&S);
^
user.cpp:47:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=N;i++) scanf("%d",&Test[i]),D[i]=INF,viz[i]=false;
^
user.cpp:51:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1032kb | Incorect | 0 | 0 |
2 | 8ms | 1164kb | Incorect | 0 | 0 |
3 | 8ms | 1148kb | Incorect | 0 | 0 |
4 | 32ms | 1500kb | Incorect | 0 | 0 |
5 | 52ms | 1600kb | Incorect | 0 | 0 |
6 | Depăşit | 2988kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 3376kb | Time limit exceeded. | 0 | 0 |
8 | 64ms | 2000kb | Incorect | 0 |
9 | Depăşit | 3364kb | Time limit exceeded. | 0 |
10 | Depăşit | 3164kb | Time limit exceeded. | 0 |
Punctaj total | 0 |