Pagini recente » Borderou de evaluare (job #1464890) | Borderou de evaluare (job #2512195) | Borderou de evaluare (job #2512260) | Borderou de evaluare (job #1876867) | Borderou de evaluare (job #483800)
Borderou de evaluare (job #483800)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:33:33: error: ‘memset’ was not declared in this scope
memset (bst,INF,sizeof (bst));
^
user.cpp: In function ‘void read()’:
user.cpp:18: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:20:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd%hd",&d[i],&c[i]);
^
user.cpp:23: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:61: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:62: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 | 8kb | OK | 10 |
2 | 0ms | 16kb | OK | 10 |
3 | 0ms | 12kb | OK | 10 |
4 | 4ms | 12kb | OK | 10 |
5 | 4ms | 8kb | OK | 10 |
6 | 4ms | 8kb | Incorect | 0 |
7 | 0ms | 8kb | OK | 10 |
8 | 4ms | 12kb | OK | 10 |
9 | 24ms | 416kb | OK | 10 |
10 | 44ms | 416kb | OK | 10 |
Punctaj total | 0 |