Pagini recente » Borderou de evaluare (job #253525) | Borderou de evaluare (job #3004913) | Borderou de evaluare (job #2647423) | Borderou de evaluare (job #3184829) | Borderou de evaluare (job #1913352)
Borderou de evaluare (job #1913352)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31) -1
^
user.cpp:74:32: note: in expansion of macro ‘INF’
for(int i=1;i<=n;++i) d[i]=INF;
^
user.cpp:79:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();++i)
^
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31) -1
^
user.cpp:92:20: note: in expansion of macro ‘INF’
if(d[i] != INF) printf("%d ",d[i]);
^
user.cpp:65: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:66: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:67:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:71:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 892kb | OK | 10 |
4 | 0ms | 900kb | OK | 10 |
5 | 20ms | 1236kb | OK | 10 |
6 | 44ms | 1548kb | OK | 10 |
7 | 56ms | 1780kb | OK | 10 |
8 | 132ms | 2720kb | OK | 10 |
9 | 88ms | 2260kb | OK | 10 |
10 | 280ms | 4556kb | OK | 10 |
Punctaj total | 100 |