Pagini recente » Borderou de evaluare (job #381999) | Borderou de evaluare (job #2917801) | Borderou de evaluare (job #2127604) | Borderou de evaluare (job #2541572) | Borderou de evaluare (job #1375115)
Borderou de evaluare (job #1375115)
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 | 0ms | 852kb | OK | 10 |
2 | 0ms | 844kb | OK | 10 |
3 | 0ms | 888kb | OK | 10 |
4 | 0ms | 900kb | OK | 10 |
5 | 20ms | 1220kb | OK | 10 |
6 | 40ms | 1576kb | OK | 10 |
7 | 56ms | 1736kb | OK | 10 |
8 | 68ms | 1980kb | OK | 10 |
9 | 208ms | 3804kb | OK | 10 |
10 | 268ms | 4852kb | OK | 10 |
Punctaj total | 100 |