Pagini recente » Borderou de evaluare (job #296485) | Borderou de evaluare (job #39242) | Borderou de evaluare (job #211570) | Acerc | Borderou de evaluare (job #522276)
Borderou de evaluare (job #522276)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:42:33: error: ‘memset’ was not declared in this scope
memset (bst,INF,sizeof (bst));
^
user.cpp: In function ‘void print()’:
user.cpp:65:8: warning: overflow in implicit constant conversion [-Woverflow]
sol=INF;
^
user.cpp: In function ‘void read()’:
user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd%hd%hd",&n,&p,&k);
^
user.cpp:25:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd%hd",&v[i].fs,&v[i].sc);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd%hd",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:73:35: 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:74:37: 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 | 4ms | 12kb | OK | 10 |
| 2 | 0ms | 12kb | OK | 10 |
| 3 | 0ms | 12kb | OK | 10 |
| 4 | 0ms | 8kb | OK | 10 |
| 5 | 4ms | 8kb | OK | 10 |
| 6 | 0ms | 12kb | OK | 10 |
| 7 | 8ms | 448kb | OK | 10 |
| 8 | 12ms | 460kb | OK | 10 |
| 9 | 60ms | 488kb | OK | 10 |
| 10 | 96ms | 512kb | OK | 10 |
| Punctaj total | 0 |