Pagini recente » Borderou de evaluare (job #2441599) | Borderou de evaluare (job #1656158) | Borderou de evaluare (job #719977) | Borderou de evaluare (job #745414) | Borderou de evaluare (job #1914364)
Borderou de evaluare (job #1914364)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&prieten[i]);
^
user.cpp:63:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y,dist,w,m,answer,bit,mini;
^
user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:62:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:66:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&prieten[i]);
^
user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:70:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&dist,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 696kb | OK | 10 |
2 | 24ms | 868kb | OK | 10 |
3 | 0ms | 684kb | OK | 10 |
4 | 100ms | 788kb | OK | 10 |
5 | 80ms | 872kb | OK | 10 |
6 | 84ms | 840kb | OK | 10 |
7 | Depăşit | 788kb | Time limit exceeded. | 0 |
8 | 0ms | 684kb | OK | 10 |
9 | 0ms | 476kb | OK | 10 |
10 | 12ms | 692kb | OK | 10 |
Punctaj total | 90 |