Pagini recente » Borderou de evaluare (job #22075) | Borderou de evaluare (job #838337) | Borderou de evaluare (job #337912) | Borderou de evaluare (job #2019147) | Borderou de evaluare (job #1271017)
Borderou de evaluare (job #1271017)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:40: warning: operation on ‘k’ may be undefined [-Wsequence-point]
b[++k] = make_pair(b[k+1].first, 2);
^
user.cpp:62:44: warning: operation on ‘k’ may be undefined [-Wsequence-point]
b[++k] = make_pair(b[k+1].first + 1, 1);
^
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:48:21: 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 | 1208kb | Incorect | 0 |
| ✓ | 2 | 0ms | 1208kb | Incorect | 0 |
| ✓ | 3 | 4ms | 1244kb | Incorect | 0 |
| ✓ | 4 | 32ms | 1592kb | Incorect | 0 |
| ✓ | 5 | 0ms | 1204kb | Incorect | 0 |
| ✓ | 6 | 4ms | 1244kb | Incorect | 0 |
| ✓ | 7 | 32ms | 1588kb | Incorect | 0 |
| ✓ | 8 | 8ms | 1284kb | Incorect | 0 |
| ✓ | 9 | 60ms | 1560kb | Incorect | 0 |
| ✓ | 10 | 56ms | 1560kb | Incorect | 0 |
| Punctaj total | 0 |