Pagini recente » Borderou de evaluare (job #1084224) | Borderou de evaluare (job #3038118) | Cod sursa (job #2823935) | Borderou de evaluare (job #2723763) | Borderou de evaluare (job #1846379)
Borderou de evaluare (job #1846379)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:25:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[from].size()&&pp==1;i++){
^
user.cpp: In function ‘int main()’:
user.cpp:37: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:38: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:39: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:41:33: 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 | 4ms | 3204kb | OK | 10 |
| 2 | 4ms | 3204kb | OK | 10 |
| 3 | 8ms | 3228kb | OK | 10 |
| 4 | 8ms | 3252kb | OK | 10 |
| 5 | 32ms | 3428kb | OK | 10 |
| 6 | 56ms | 3692kb | OK | 10 |
| 7 | 76ms | 3956kb | OK | 10 |
| 8 | 172ms | 4988kb | OK | 10 |
| 9 | 120ms | 4484kb | OK | 10 |
| 10 | 320ms | 7156kb | OK | 10 |
| Punctaj total | 100 |