Pagini recente » Borderou de evaluare (job #1922868) | Borderou de evaluare (job #2666442) | Borderou de evaluare (job #2885411) | Borderou de evaluare (job #1311102) | Borderou de evaluare (job #1914291)
Borderou de evaluare (job #1914291)
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 | 692kb | OK | 10 |
| 2 | 24ms | 868kb | OK | 10 |
| 3 | 0ms | 684kb | OK | 10 |
| 4 | 100ms | 788kb | OK | 10 |
| 5 | 76ms | 868kb | OK | 10 |
| 6 | 84ms | 836kb | OK | 10 |
| 7 | Depăşit | 788kb | Time limit exceeded. | 0 |
| 8 | 0ms | 676kb | OK | 10 |
| 9 | 0ms | 472kb | Incorect | 0 |
| 10 | 12ms | 684kb | OK | 10 |
| Punctaj total | 80 |