Pagini recente » Cod sursa (job #1756701) | Borderou de evaluare (job #445615) | Borderou de evaluare (job #1915930) | Borderou de evaluare (job #1170934) | Borderou de evaluare (job #1733541)
Borderou de evaluare (job #1733541)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&b);
^
user.cpp:29: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 | 420kb | OK | 10 |
| 2 | 0ms | 420kb | OK | 10 |
| 3 | 0ms | 424kb | OK | 10 |
| 4 | 0ms | 428kb | OK | 10 |
| 5 | 0ms | 464kb | OK | 10 |
| 6 | 0ms | 460kb | OK | 10 |
| 7 | 20ms | 732kb | OK | 10 |
| 8 | 20ms | 732kb | OK | 10 |
| 9 | 60ms | 1124kb | OK | 10 |
| 10 | 52ms | 1124kb | OK | 10 |
| Punctaj total | 100 |