Pagini recente » Borderou de evaluare (job #1110691) | Borderou de evaluare (job #2772763) | Borderou de evaluare (job #79871) | Borderou de evaluare (job #1284329) | Borderou de evaluare (job #534420)
Borderou de evaluare (job #534420)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:44:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d[*it]>t[*it]+d[x]&&cap[x]+c[*it]<n)
^
user.cpp: In function ‘void read()’:
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d %d %d",&n,&p,&k);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t[i],&c[i]);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d %d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:56:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("zmeu2.in","r",stdin);
^
user.cpp:57:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 20ms | 904kb | OK | 10 |
4 | 4ms | 904kb | OK | 10 |
5 | 16ms | 628kb | Incorect | 0 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 332kb | OK | 10 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 4ms | 632kb | OK | 10 |
10 | 36ms | 864kb | OK | 10 |
Punctaj total | 70 |