Pagini recente » Borderou de evaluare (job #1225749) | Cod sursa (job #1756428) | Borderou de evaluare (job #2675382) | Borderou de evaluare (job #1417324) | Borderou de evaluare (job #1405379)
Borderou de evaluare (job #1405379)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8: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:9: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:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) {scanf("%d",&a[i]); a[i+n]=a[i];}
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 8ms | 256kb | OK | 10 |
| 5 | 8ms | 252kb | OK | 10 |
| 6 | 8ms | 260kb | OK | 10 |
| 7 | 8ms | 300kb | OK | 10 |
| 8 | 12ms | 336kb | OK | 10 |
| 9 | 12ms | 348kb | OK | 10 |
| 10 | 12ms | 364kb | OK | 10 |
| Punctaj total | 100 |