Pagini recente » Cod sursa (job #503589) | Cod sursa (job #690410) | Cod sursa (job #944429) | Cod sursa (job #1134487) | Borderou de evaluare (job #1999139)
Borderou de evaluare (job #1999139)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:31: 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:7:33: 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:9:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&T);
^
user.cpp:10:56: 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]),v[i+N]=v[i];
^
user.cpp:14:29: 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 | 448kb | OK | 10 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 4ms | 452kb | OK | 10 |
| 4 | 8ms | 456kb | OK | 10 |
| 5 | 8ms | 460kb | OK | 10 |
| 6 | 8ms | 476kb | OK | 10 |
| 7 | 8ms | 552kb | OK | 10 |
| 8 | 12ms | 620kb | OK | 10 |
| 9 | 12ms | 648kb | OK | 10 |
| 10 | 12ms | 676kb | OK | 10 |
| Punctaj total | 100 |