Pagini recente » Borderou de evaluare (job #2084358) | Borderou de evaluare (job #1503020) | Borderou de evaluare (job #1285313) | Borderou de evaluare (job #2686898) | Borderou de evaluare (job #1383040)
Borderou de evaluare (job #1383040)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:25: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
scanf("%d%lld",&n,&k);
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.out","w",stdout);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&a[i]);v[a[i]]=1;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 8264kb | Incorect | 0 |
| 2 | 12ms | 8632kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 12ms | 9364kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 16ms | 9432kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 20ms | 9432kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 28ms | 9436kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 32ms | 9436kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 36ms | 9440kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 32ms | 9440kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 32ms | 9432kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |