Pagini recente » Borderou de evaluare (job #1038467) | Cod sursa (job #1482167) | Borderou de evaluare (job #2869235) | Borderou de evaluare (job #2009900) | Borderou de evaluare (job #1668385)
Borderou de evaluare (job #1668385)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:13:49: 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]-=k;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 16ms | 500kb | OK | 10 |
| 5 | 16ms | 504kb | OK | 10 |
| 6 | 20ms | 584kb | OK | 10 |
| 7 | 20ms | 580kb | OK | 10 |
| 8 | 24ms | 660kb | OK | 10 |
| 9 | 24ms | 660kb | OK | 10 |
| 10 | 24ms | 656kb | OK | 10 |
| Punctaj total | 100 |