Pagini recente » Borderou de evaluare (job #533505) | Borderou de evaluare (job #1889403) | Borderou de evaluare (job #612705) | Borderou de evaluare (job #2697909) | Borderou de evaluare (job #1416628)
Borderou de evaluare (job #1416628)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld %lld",&n,&S);
^
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir3.in","r",stdin);
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir3.out","w",stdout);
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&S);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | Incorect | 0 |
| 2 | 4ms | 548kb | Incorect | 0 |
| 3 | 12ms | 736kb | OK | 10 |
| 4 | 28ms | 1364kb | OK | 10 |
| 5 | 152ms | 4956kb | OK | 10 |
| 6 | 168ms | 5264kb | OK | 10 |
| 7 | 184ms | 5576kb | OK | 10 |
| 8 | 196ms | 5896kb | OK | 10 |
| 9 | 208ms | 6204kb | OK | 10 |
| 10 | 224ms | 6504kb | Incorect | 0 |
| Punctaj total | 70 |