Pagini recente » Borderou de evaluare (job #1012618) | Borderou de evaluare (job #1469691) | Borderou de evaluare (job #2363106) | Borderou de evaluare (job #2205268) | Borderou de evaluare (job #1411562)
Borderou de evaluare (job #1411562)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.out","w",stdout);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:16:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {scanf("%ld",&v[i]); if (v[i]>maxim) {maxim=v[i]; pozmax=i;}}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 428kb | OK! | 10 | 30 |
| 2 | 0ms | 440kb | OK! | 10 |
| 3 | 0ms | 440kb | OK! | 10 |
| 4 | 0ms | 440kb | OK! | 10 | 10 |
| 5 | 0ms | 456kb | OK! | 10 | 10 |
| 6 | 0ms | 476kb | OK! | 10 | 10 |
| 7 | 4ms | 488kb | OK! | 10 | 10 |
| 8 | 4ms | 516kb | OK! | 10 | 10 |
| 9 | 4ms | 536kb | OK! | 10 | 10 |
| 10 | 8ms | 552kb | OK! | 10 | 10 |
| Punctaj total | 100 |