Pagini recente » Borderou de evaluare (job #458018) | Borderou de evaluare (job #85408)
Borderou de evaluare (job #85408)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:26: error: ‘memset’ was not declared in this scope
memset(c,-1,sizeof(c));
^
user.cpp:47:36: error: ‘memcpy’ was not declared in this scope
memcpy(d,c,sizeof(c));
^
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.in","r",stdin);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.out","w",stdout);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:26:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ",&t[i],&s[i],&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 12kb | OK | 10 |
2 | 4ms | 8kb | OK | 10 |
3 | 240ms | 312kb | OK | 10 |
4 | 2140ms | 828kb | OK | 10 |
5 | 2532ms | 824kb | OK | 10 |
6 | 348ms | 812kb | OK | 10 |
7 | 3372ms | 832kb | OK | 10 |
8 | 2804ms | 812kb | OK | 10 |
9 | 2100ms | 816kb | OK | 10 |
10 | 2412ms | 832kb | OK | 10 |
Punctaj total | 0 |