Pagini recente » Borderou de evaluare (job #2722791) | Borderou de evaluare (job #725169) | Borderou de evaluare (job #1606692) | Borderou de evaluare (job #1902664) | Borderou de evaluare (job #2416948)
Borderou de evaluare (job #2416948)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:36: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=]
for (i=1;i<=n;i++) scanf("%d",&h[i]);
^
main.cpp:9:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci4.in","r",stdin);
^
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci4.out","w",stdout);
^
main.cpp:12:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:13:37: 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",&h[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 5ms | 131kb | OK | 10 |
| 7 | 18ms | 131kb | OK | 10 |
| 8 | 52ms | 262kb | OK | 10 |
| 9 | 58ms | 262kb | OK | 10 |
| 10 | 67ms | 262kb | OK | 10 |
| Punctaj total | 100 |