Pagini recente » Borderou de evaluare (job #1728539) | Borderou de evaluare (job #2051843) | Borderou de evaluare (job #1382265) | Borderou de evaluare (job #2145823) | Borderou de evaluare (job #1236944)
Borderou de evaluare (job #1236944)
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:64:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<G[x].size();i++)
^
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:76:23: note: in expansion of macro ‘INF’
if (D[i]==INF) D[i]=0;
^
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 | 1048kb | OK | 10 | 10 |
2 | 8ms | 1144kb | OK | 10 | 10 |
3 | 12ms | 1148kb | OK | 10 | 10 |
4 | 36ms | 1316kb | OK | 10 | 10 |
5 | 52ms | 1660kb | OK | 10 | 10 |
6 | Depăşit | 2508kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 3364kb | Time limit exceeded. | 0 | 0 |
8 | 64ms | 1728kb | OK | 10 |
9 | Depăşit | 2440kb | Time limit exceeded. | 0 |
10 | Depăşit | 2676kb | Time limit exceeded. | 0 |
Punctaj total | 50 |