Pagini recente » Cod sursa (job #62368) | Borderou de evaluare (job #1767365) | Cod sursa (job #903255) | Borderou de evaluare (job #3167766) | Borderou de evaluare (job #1270678)
Borderou de evaluare (job #1270678)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname2.in","r",stdin);
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname2.out","w",stdout);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:36:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=n; i++)scanf("%d",&v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 436kb | Incorect | 0 |
| ✓ | 2 | 0ms | 436kb | Incorect | 0 |
| ✓ | 3 | 0ms | 436kb | Incorect | 0 |
| ✓ | 4 | 0ms | 444kb | Incorect | 0 |
| ✓ | 5 | 40ms | 1216kb | Incorect | 0 |
| ✓ | 6 | 40ms | 1216kb | Incorect | 0 |
| ✓ | 7 | 40ms | 1212kb | Incorect | 0 |
| ✓ | 8 | 40ms | 1212kb | Incorect | 0 |
| ✓ | 9 | 40ms | 1208kb | Incorect | 0 |
| ✓ | 10 | 44ms | 1208kb | Incorect | 0 |
| Punctaj total | 0 |