Pagini recente » Borderou de evaluare (job #372435) | Borderou de evaluare (job #85399)
Borderou de evaluare (job #85399)
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 | 8kb | Incorect | 0 |
2 | 4ms | 12kb | Incorect | 0 |
3 | 220ms | 312kb | Incorect | 0 |
4 | 2164ms | 828kb | Incorect | 0 |
5 | 2692ms | 828kb | Incorect | 0 |
6 | 380ms | 804kb | Incorect | 0 |
7 | 1008ms | 832kb | Incorect | 0 |
8 | 1000ms | 832kb | Incorect | 0 |
9 | 1004ms | 832kb | Incorect | 0 |
10 | 1044ms | 828kb | Incorect | 0 |
Punctaj total | 0 |