Pagini recente » Borderou de evaluare (job #2659124) | Diferente pentru problema/split3 intre reviziile 1 si 2 | Borderou de evaluare (job #2448443) | Cod sursa (job #1164055) | Borderou de evaluare (job #1640218)
Borderou de evaluare (job #1640218)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(max-min==k-1)
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cool.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cool.out","w",stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&p);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 0ms | 276kb | OK | 5 |
| 4 | 0ms | 280kb | OK | 5 |
| 5 | 0ms | 276kb | Incorect | 0 |
| 6 | 0ms | 288kb | Incorect | 0 |
| 7 | 0ms | 284kb | Incorect | 0 |
| 8 | 8ms | 300kb | Incorect | 0 |
| 9 | 8ms | 308kb | Incorect | 0 |
| 10 | 20ms | 308kb | Incorect | 0 |
| 11 | 16ms | 304kb | Incorect | 0 |
| 12 | 24ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 40ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 24ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 28ms | 304kb | Incorect | 0 |
| 16 | 36ms | 304kb | Incorect | 0 |
| 17 | 24ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 20ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 20ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 4ms | 288kb | Incorect | 0 |
| Punctaj total | 20 |