Pagini recente » Borderou de evaluare (job #2222230) | Borderou de evaluare (job #1352290) | Borderou de evaluare (job #1101365) | Borderou de evaluare (job #2151879) | Borderou de evaluare (job #1193344)
Borderou de evaluare (job #1193344)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:27:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:31:71: 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",&C[i]), C[n+i]=C[i], C[i]+=C[i-1];
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 8ms | 260kb | OK | 10 |
5 | 8ms | 260kb | OK | 10 |
6 | 12ms | 264kb | OK | 10 |
7 | 8ms | 308kb | OK | 10 |
8 | 12ms | 336kb | OK | 10 |
9 | 12ms | 356kb | OK | 10 |
10 | 12ms | 364kb | OK | 10 |
Punctaj total | 100 |