Pagini recente » Borderou de evaluare (job #2044794) | Borderou de evaluare (job #1323763) | Borderou de evaluare (job #2336298) | Monitorul de evaluare | Borderou de evaluare (job #1914426)
Borderou de evaluare (job #1914426)
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 | 684kb | OK | 10 |
| 2 | 24ms | 856kb | OK | 10 |
| 3 | 0ms | 692kb | OK | 10 |
| 4 | 72ms | 844kb | OK | 10 |
| 5 | 52ms | 864kb | OK | 10 |
| 6 | 80ms | 828kb | OK | 10 |
| 7 | 88ms | 844kb | Incorect | 0 |
| 8 | 0ms | 676kb | OK | 10 |
| 9 | 0ms | 468kb | OK | 10 |
| 10 | 8ms | 704kb | OK | 10 |
| Punctaj total | 90 |