Pagini recente » Borderou de evaluare (job #426118) | Borderou de evaluare (job #432466) | Borderou de evaluare (job #936494) | Borderou de evaluare (job #1211373) | Borderou de evaluare (job #1375105)
Borderou de evaluare (job #1375105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:22: warning: integer overflow in expression [-Woverflow]
#define INF ((1<<31)-1)
^
user.cpp:44:33: note: in expansion of macro ‘INF’
for (int i=2;i<=n;i++) D[i]=INF;
^
user.cpp:11:22: warning: integer overflow in expression [-Woverflow]
#define INF ((1<<31)-1)
^
user.cpp:48:29: note: in expansion of macro ‘INF’
printf("%d ",(D[i]==INF)?0:D[i]);
^
user.cpp:35:37: 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:39: 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:37:25: 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:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 832kb | Time limit exceeded. | 0 |
2 | Depăşit | 832kb | Time limit exceeded. | 0 |
3 | Depăşit | 872kb | Time limit exceeded. | 0 |
4 | Depăşit | 880kb | Time limit exceeded. | 0 |
5 | Depăşit | 1172kb | Time limit exceeded. | 0 |
6 | Depăşit | 1456kb | Time limit exceeded. | 0 |
7 | Depăşit | 1668kb | Time limit exceeded. | 0 |
8 | 68ms | 1984kb | OK | 10 |
9 | Depăşit | 3576kb | Time limit exceeded. | 0 |
10 | Depăşit | 4332kb | Time limit exceeded. | 0 |
Punctaj total | 10 |