Pagini recente » Borderou de evaluare (job #32906) | Borderou de evaluare (job #3280673) | Borderou de evaluare (job #226971) | Borderou de evaluare (job #312092) | Borderou de evaluare (job #522277)
Borderou de evaluare (job #522277)
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 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 | 0ms | 12kb | OK | 10 |
| 2 | 0ms | 12kb | OK | 10 |
| 3 | 0ms | 12kb | OK | 10 |
| 4 | 0ms | 8kb | OK | 10 |
| 5 | 0ms | 8kb | OK | 10 |
| 6 | 0ms | 12kb | OK | 10 |
| 7 | 8ms | 444kb | OK | 10 |
| 8 | 12ms | 456kb | OK | 10 |
| 9 | 60ms | 496kb | OK | 10 |
| 10 | 96ms | 516kb | OK | 10 |
| Punctaj total | 0 |