Pagini recente » Borderou de evaluare (job #351966) | Borderou de evaluare (job #2017086) | Borderou de evaluare (job #1998146) | Borderou de evaluare (job #1370321) | Borderou de evaluare (job #1416630)
Borderou de evaluare (job #1416630)
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 | 304kb | Incorect | 0 |
| 2 | 4ms | 548kb | Incorect | 0 |
| 3 | 12ms | 736kb | OK | 10 |
| 4 | 28ms | 1360kb | OK | 10 |
| 5 | 160ms | 4960kb | OK | 10 |
| 6 | 176ms | 5268kb | OK | 10 |
| 7 | 184ms | 5576kb | OK | 10 |
| 8 | 200ms | 5892kb | OK | 10 |
| 9 | 216ms | 6204kb | OK | 10 |
| 10 | 224ms | 6508kb | Incorect | 0 |
| Punctaj total | 70 |