Pagini recente » Borderou de evaluare (job #1824157) | Borderou de evaluare (job #2577666) | Borderou de evaluare (job #2839917) | Borderou de evaluare (job #2889672) | Borderou de evaluare (job #1914414)
Borderou de evaluare (job #1914414)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&prieten[i]);
^
user.cpp:69:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y,dist,w,m,answer,bit;
^
user.cpp:67: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:68: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:70: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:72:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&prieten[i]);
^
user.cpp:73:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:76: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 | 688kb | OK | 10 |
2 | 24ms | 860kb | OK | 10 |
3 | 0ms | 692kb | OK | 10 |
4 | 72ms | 856kb | OK | 10 |
5 | 52ms | 864kb | OK | 10 |
6 | 76ms | 832kb | OK | 10 |
7 | 88ms | 844kb | Incorect | 0 |
8 | 0ms | 680kb | OK | 10 |
9 | 0ms | 472kb | OK | 10 |
10 | 8ms | 708kb | OK | 10 |
Punctaj total | 90 |